noinfo3052620
API pentru
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11394678json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11394678,
"ip": "194.163.179.161",
"port": 29100,
"query": 29115,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 3052620,
"owner": null,
"boosts": 1,
"last_offline": 1776284471,
"score": 0,
"last_online": 1776153037,
"icon": null,
"name": null,
"connect": null,
"request": "194.163.179.161:29115",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 130,
"bots": 0,
"secured": null,
"private": true,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774597063,
"last_update": 1776284471,
"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": 82,
"language": "fr",
"parked": false,
"app": {
"id": 1665334,
"steam_id": 3052620,
"name": "noinfo3052620",
"url": "noinfo3052620"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11394678");
$data = json_decode($json, true);
var_dump($data);