forked from mamoe/mirai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccb41e3
commit 0ea9d66
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
# mirai-api-http | ||
|
||
Coroutine-based Http API adapter for Mirai. | ||
<b> | ||
Mirai-API-http provides adapter for ALL langugae to access mirai via HTTP protocol.<br> | ||
</b> | ||
|
||
|
||
#### Start Session | ||
|
||
```php | ||
Authorize | ||
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| | ||
| --- | --- | --- | --- | --- | | ||
| key | String |false|UAHSNDXlaksd918273h|this could be found after initialize| | ||
| QQ | String |false|1040400290|bot QQ number you want to access| | ||
|
||
|
||
|
||
|