Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
a2e82e75
Commit
a2e82e75
authored
Dec 15, 2019
by
Him188
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
7e8efe01
7f5bffef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
3 deletions
+30
-3
.github/workflows/main.yml
.github/workflows/main.yml
+5
-2
.travis.yml
.travis.yml
+3
-0
mirai-api-http/README.md
mirai-api-http/README.md
+22
-1
No files found.
.github/workflows/main.yml
View file @
a2e82e75
...
...
@@ -9,6 +9,9 @@ jobs:
steps
:
-
uses
:
actions/checkout@v1
-
name
:
Gradle Android
uses
:
Raul6469/android-gradle-action@1.0.0
-
name
:
setup-android
uses
:
msfjarvis/setup-android@0.2
with
:
# Gradle tasks to run - If you want to run ./gradlew assemble, specify assemble here.
gradleTasks
:
build
.travis.yml
View file @
a2e82e75
language
:
android
jdk
:
oraclejdk8
### need JDK11
env
:
global
:
...
...
@@ -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/
...
...
mirai-api-http/README.md
View file @
a2e82e75
# mirai-api-http
Coroutine-based Http API adapter for Mirai.
\ No newline at end of file
<b>
Mirai-API-http provides adapter for ALL langugae to access mirai via HTTP protocol.
<br>
</b>
#### Start Session-Authorize
```
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|
| --- | --- | --- | --- | --- |
| key | String |false|U9HSaDXl39ksd918273hU|this could be found after initialize|
| qq | String |false|1040400290|bot QQ number you want to access|
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment