Samp
API for
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11488203json
{
"response": {
"steam_id": null,
"domain": "s1.sile.games",
"id": 11488203,
"ip": "163.123.193.33",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776373370,
"score": 0,
"last_online": 1776180027,
"icon": null,
"name": null,
"connect": null,
"request": "163.123.193.33:7777",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 1000,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1775391550,
"last_update": 1776373370,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1207,
"language": "de",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11488203");
$data = json_decode($json, true);
var_dump($data);