friendlyPedestrians के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90285145518813214",
"domain": null,
"id": 10609878,
"ip": "51.91.153.139",
"port": 27015,
"query": 27016,
"project_id": null,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1777506801,
"last_online": 1781280148,
"icon": null,
"name": "friendlyPedestrians",
"connect": "51.91.153.139:27015",
"request": "51.91.153.139:27016",
"map": "VRisingWorld",
"gamemode": "4d3b9d19-bae9-48a9-b1c4-27f2c7a9a1ec",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763323216,
"last_update": 1781280148,
"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": 1087,
"language": "fr",
"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/10609878");
$data = json_decode($json, true);
var_dump($data);