API für FZ Roleplay [S2] Rol en espaсol
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 526604,
"ip": "198.27.88.127",
"port": 7777,
"query": 7777,
"project_id": null,
"color": 0,
"city": "Newark",
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1780402034,
"last_online": 1780953628,
"icon": null,
"name": "FZ Roleplay [S2] Rol en espaсol",
"connect": "198.27.88.127:7777",
"request": "198.27.88.127:7777",
"map": "San Andreas",
"gamemode": "FZ:RP v5.04 - Rol en espaсol",
"version": "0.3.7",
"numplayers": 301,
"maxplayers": 850,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1643531423,
"last_update": 1780953628,
"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": 38,
"language": "en",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/526604");
$data = json_decode($json, true);
var_dump($data);