ATTENTION AU DEPART, C'EST LA CHENILLE QUI REDEMARRE के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "85568392936391406",
"domain": null,
"id": 11796491,
"ip": "165.245.244.123",
"port": 27015,
"query": 27016,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 270880,
"owner": null,
"boosts": 1,
"last_offline": 1781378814,
"last_online": 1781472065,
"icon": null,
"name": "ATTENTION AU DEPART, C'EST LA CHENILLE QUI REDEMARRE",
"connect": "165.245.244.123:27015",
"request": "165.245.244.123:27016",
"map": "usa",
"gamemode": "https://steamcommunity.com/user/ftcq-vtgp",
"version": null,
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1781378814,
"last_update": 1781472065,
"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": 699,
"language": "de",
"parked": false,
"app": {
"id": 2949,
"steam_id": 270880,
"name": "American Truck Simulator",
"url": "american-truck-simulator"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11796491");
$data = json_decode($json, true);
var_dump($data);