Samp
API für GTA LEAGUE t/cw | 2 | gta.ru vk.com/gtaleague
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/69475json
{
"response": {
"steam_id": null,
"domain": null,
"id": 69475,
"ip": "46.39.225.193",
"port": 7778,
"query": 7778,
"color": 0,
"city": "Moscow",
"description": "",
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776367424,
"score": null,
"last_online": 1776373867,
"icon": null,
"name": "GTA LEAGUE t/cw | 2 | gta.ru vk.com/gtaleague",
"connect": "46.39.225.193:7778",
"request": "46.39.225.193:7778",
"map": "Lobby",
"gamemode": "Romdo A/D v0.0.161",
"version": "0.3.7-R2",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1521490077,
"last_update": 1776373867,
"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": 292,
"language": "ru",
"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/69475");
$data = json_decode($json, true);
var_dump($data);