c-for-fun के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286251963025430",
"domain": null,
"id": 11624241,
"ip": "98.142.3.139",
"port": 20350,
"query": 20351,
"project_id": null,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1779916138,
"last_online": 1780824699,
"icon": null,
"name": "c-for-fun",
"connect": "98.142.3.139:20350",
"request": "98.142.3.139:20351",
"map": "VRisingWorld",
"gamemode": "579d2950-c589-4b09-9b06-ef915163bdd0",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916138,
"last_update": 1780824699,
"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": 2966,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11624241");
$data = json_decode($json, true);
var_dump($data);