wukongapi
v1.0.2
Published
``` yarn add wukongapi ```
Downloads
5
Readme
wukongapi
yarn add wukongapi
import API from 'wukongapi';
const api = new API('https://api.githubim.com');
const res = await api.route();
支持API列表
- route GET
- routeBatch POST
- userToken POST
- userOnlinestatus POST
- userSystemuidsAdd POST
- userSystemuidsRemove POST
- userDeviceQuit POST
- channel POST
- channelDelete POST
- channelSubscriberAdd POST
- channelSubscriberRemove POST
- channelBlacklistAdd POST
- channelBlacklistRemove POST
- channelBlacklistSet POST
- channelWhitelistAdd POST
- channelWhitelistRemove POST
- channelWhitelistSet POST
- messageSend POST
- messageSendbatch POST
- channelMessagesync POST
- messageSync POST
- messageSyncack POST
- conversationSync POST
- conversationsSetUnread POST
- conversationsDelete POST