Points

Retrieving information about your staff member is easy, and usefull for any type of integration

Working with points

Retrieve user points

POST https://api.skylineeu.xyz/getPoints

Path Parameters

NameTypeDescription

memberID*

String

Id of member

100
curl -X POST "https://api.skylineeu.xyz/getPoints" -H "Authorization: YOUR_API_KEY" -d "memberID=USER_DISCORD_ID"
  • Replace YOUR_API_KEY with generated API key

  • Replace USER_DISCORD_ID with real ID of member

Set user points

POST https://api.skylineeu.xyz/setPoints

Path Parameters

NameTypeDescription

memberID*

Long

Id of member

amount*

Integer

Amount of points

Successfully set '{memberName}' points to '{newValue}'

curl -X POST "https://api.skylineeu.xyz/setPoints" -H "Authorization: YOUR_API_KEY" -d "memberID=USER_DISCORD_ID&amount=POINTS_AMOUNT"

  • Replace YOUR_API_KEY with generated API key

  • Replace USER_DISCORD_ID with real ID of member

  • Replace POINTS_AMOUNT with amount of points you want to set

❗ Please OPTIMIZE your code, to use LESS AS POSSIBLE requests to API, this will prevent us setting limits for requests.

Last updated