-
Notifications
You must be signed in to change notification settings - Fork 0
1 What is it? How to use?
Lyertia-Senpai edited this page Nov 16, 2021
·
3 revisions
- This API lets you to view informations from game servers.
- Properties:
- name
- map
- password
- maxPlayers
- online
- connect
- ping
- players
- info
- There are 3 different fetch types:
- Default
GET /api/default/:game?auth=AUTH_KEY&host=HOST_IP&port=HOST_PORT- This gives default properties (name, map, password, maxPlayers, online, connect, ping)
- All
GET /api/all/:game?auth=AUTH_KEY&host=HOST_IP&port=HOST_PORT- This gives all properties in the object
- Free
GET /free/:game?host=HOST_IP&port=HOST_PORT- This gives online and max players info.
- Select
GET /api/select/:game?auth=AUTH_KEY&host=HOST_IP&port=HOST_PORT- This is a custom fetch type that allows you to select which properties you want to select
- Example:
GET /api/select/:game?auth=AUTH_KEY&host=HOST_IP&port=HOST_PORT&players&info- This only gives an object with
playersandinfo.
- Default
- To get auth key you should join to our discord server: https://discord.gg/mv9Tbky42T
- Note: This is completely free and you will not be charged a monetary fee.
Support: https://discord.gg/mv9Tbky42T