Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
liujiahua123123 committed Dec 15, 2019
1 parent ccb41e3 commit 0ea9d66
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: android

jdk: oraclejdk8
### need JDK11

env:
global:
Expand All @@ -24,6 +25,8 @@ before_install:
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "build-tools;28.0.3"

### need JDK8( SDK manager thing)

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
Expand Down
24 changes: 23 additions & 1 deletion mirai-api-http/README.md
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|




0 comments on commit 0ea9d66

Please sign in to comment.