Example Usage
Get Script Details
1️. Get Script Details (Basic)
Returns public information about a specific script.
GET /api/v1/public/scripts/tgiann-inventory
Content-Type: application/jsonDescription:
Retrieves public details of the script identified by tgiann-inventory.
2️. Get Script Details with Server IDs
Includes the list of server IDs that are currently using this script.
GET /api/v1/public/scripts/tgiann-inventory?getServerIds=true
Content-Type: application/jsonDescription: Returns script details along with the server IDs using this script.
3. cURL Example
curl -X GET "https://fivemstats.net/api/v1/public/scripts/tgiann-inventory?getServerIds=false" \
-H "Content-Type: application/json"4. JavaScript (Fetch) Example
5. Axios Example
Get Server Details
1. Get Server Details (Basic)
Returns public details of a single server.
Description:
Retrieves public details of the server identified by byejz8.
2. cURL Example
3. JavaScript (Fetch) Example
4. Axios Example
Get Server Player History
1. Get Server Player History (Basic)
Returns player count history for the last 7 days.
Description:
Retrieves the last 7 days of recorded player count history for the server identified by byejz8.
2. cURL Example
3. JavaScript (Fetch) Example
4. Axios Example
Last updated