rFactor 2
Emerald HummingBird GPVWC के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11180232json
{
"response": {
"steam_id": "90284574284362767",
"domain": null,
"id": 11180232,
"ip": "51.83.135.194",
"port": 33000,
"query": 33002,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1777610543,
"score": 0,
"last_online": 1777582839,
"icon": null,
"name": "Emerald HummingBird GPVWC",
"connect": "51.83.135.194:33000",
"request": "51.83.135.194:33002",
"map": "Sepang International Circuit (G",
"gamemode": "rFactor 2",
"version": "11134",
"numplayers": 0,
"maxplayers": 62,
"bots": 0,
"secured": false,
"private": true,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772229590,
"last_update": 1777610543,
"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": 221,
"language": "pl",
"parked": false,
"app": {
"id": 146,
"steam_id": 365960,
"name": "rFactor 2",
"url": "rfactor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11180232");
$data = json_decode($json, true);
var_dump($data);