[P] GTL - Endurance Cup - Round 3 - Le Mans #JR के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90285962514425877",
"domain": null,
"id": 11586670,
"ip": "180.150.66.155",
"port": 26013,
"query": 26023,
"color": 0,
"city": "Sydney",
"description": null,
"game": 1066890,
"owner": null,
"boosts": 1,
"last_offline": 1779572563,
"last_online": 1779402099,
"icon": null,
"name": "[P] GTL - Endurance Cup - Round 3 - Le Mans #JR",
"connect": "180.150.66.155:26013",
"request": "180.150.66.155:26023",
"map": "Le_Mans_24h",
"gamemode": "Automobilista 2",
"version": "1.0.0.93",
"numplayers": 0,
"maxplayers": 28,
"bots": 0,
"secured": true,
"private": true,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357352,
"last_update": 1779572563,
"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": 223,
"language": "en",
"parked": false,
"app": {
"id": 48189,
"steam_id": 1066890,
"name": "Automobilista 2",
"url": "automobilista-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11586670");
$data = json_decode($json, true);
var_dump($data);