mirai/mirai-api-http/README.md

24 lines
611 B
Markdown
Raw Normal View History

2019-11-21 21:31:05 +08:00
# mirai-api-http
2019-12-15 17:00:02 +08:00
<b>
Mirai-API-http provides adapter for ALL langugae to access mirai via HTTP protocol.<br>
</b>
2019-12-15 17:01:41 +08:00
#### Start Session-Authorize
2019-12-15 17:00:02 +08:00
```php
Path: /auth
Method: POST
```
this verify your session to one bot and you could have full access to that bot<br>
NOTE that only 1 bot could be control under 1 session, you could have multiple session to control all bots.
| name | type | optional|example|note|
| --- | --- | --- | --- | --- |
2019-12-15 17:01:41 +08:00
| key | String |false|U9HSaDXl39ksd918273hU|this could be found after initialize|
| qq | String |false|1040400290|bot QQ number you want to access|
2019-12-15 17:00:02 +08:00