Commit 0ea9d662 authored by liujiahua123123's avatar liujiahua123123

travis

parent ccb41e36
language: android language: android
jdk: oraclejdk8 jdk: oraclejdk8
### need JDK11
env: env:
global: global:
...@@ -24,6 +25,8 @@ before_install: ...@@ -24,6 +25,8 @@ before_install:
- yes | sdkmanager "platforms;android-28" - yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3" - yes | sdkmanager "build-tools;28.0.3"
### need JDK8( SDK manager thing)
before_cache: before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
......
# mirai-api-http # mirai-api-http
Coroutine-based Http API adapter for Mirai. <b>
\ No newline at end of file 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|
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment