SkyGames API to manage players, team, and discord link.
SkyGames API to manage players, team, and discord link. It is a REST API with a database.
ALL OS:
java -jar SGTheAPI-VERSION.jar
DISCORD ROUTES:
http://url:8686/api/v1/discord/:player/token GET
http://url:8686/api/v1/discord/:player/token POST
http://url:8686/api/v1/discord/:token/verify GET
http://url:8686/api/v1/discord/:token/id PATCH
http://url:8686/api/v1/discord/:player/id GET
PLAYER ROUTES:
http://url:8686/api/v1/players GET
http://url:8686/api/v1/players POST
http://url:8686/api/v1/players/:player GET
http://url:8686/api/v1/players/:player PATCH
http://url:8686/api/v1/players/:player DELETE
http://url:8686/api/v1/players/:player/teams GET
http://url:8686/api/v1/players/:player/teams PATCH
TEAM ROUTES:
http://url:8686/api/v1/teams GET
http://url:8686/api/v1/teams POST
http://url:8686/api/v1/teams/:team GET
http://url:8686/api/v1/teams/:team PATCH
http://url:8686/api/v1/teams/:team DELETE
http://url:8686/api/v1/teams/:team/players GET
http://url:8686/api/v1/teams/:team/point GET
http://url:8686/api/v1/teams/:team/point PATCH
http://url:8686/api/v1/teams/:team/point/history DELETE
For more examples and usage, please refer to the Wiki.
Download the project and open it in your IDE.
- 1.0.0
- Add all routes
- Link discord to player
- Add team
- Add player
- Add point to team
- Add history to point
- Add player to team
- Add TOKEN for secure routes
FullGreen.GN – @FullGreen.GN – hi@skygames.fr
Distributed under the GNU GPL v3.0 license. See LICENSE
for more information.
- Fork it (https://github.com/SkyGamesFR/SGTheAPIGradle/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request