Looking to hire Laravel developers? Try LaraJobs

laravel-shopee-api maintained by yeejiawei

Description
Laravel Wrapper for shopee api
Author
Last update
2022/04/01 16:12 (dev-master)
License
Links
Downloads
9

Comments
comments powered by Disqus

Laravel Shopee API

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