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-05-29 05:09:22 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