yeejiawei/laravel-shopee-api

Laravel Wrapper for shopee api

0.1.2 2022-04-01 14:12 UTC

This package is auto-updated.

Last update: 2024-10-29 06:19:44 UTC


README

Usage

First, initialise the Client

$client = new  \Yeejiawei\LaravelShopeeApi\Client([
    'shop_id' => 'SHOP_ID',
    'access_token' => 'ACCESS_TOKEN',
]);

Second, get the node

$chat = $client->chat();

Or use the function in the node

$chat = $client->chat()->getConversation(197091754292034);

Current avaialable Nodes

Chat node

  • getMessage
  • sendMessage
  • sendAutoreplyMessage
  • getConversations
  • getConversation
  • deleteConversation
  • getUnreadConversationCount
  • pinConversation
  • unpinConversation
  • readConversationn
  • unreadConversation
  • getOfferToggleStatus
  • setOfferToggleStatus
  • uploadImage