Subsistence
Fresh Start के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11015091json
{
"response": {
"steam_id": "90285619874207748",
"domain": null,
"id": 11015091,
"ip": "96.35.78.99",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Oxford",
"description": "By invitation only. Server restart at 8am Eastern (GMT-4).",
"game": 418030,
"owner": null,
"boosts": 1,
"last_offline": 1778108585,
"score": 0,
"last_online": 1778526623,
"icon": null,
"name": "Fresh Start",
"connect": "96.35.78.99:7777",
"request": "96.35.78.99:27015",
"map": "coldmap1",
"gamemode": "ColdGame",
"version": "13249",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769943036,
"last_update": 1778526623,
"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": 93,
"language": "en",
"parked": false,
"app": {
"id": 139,
"steam_id": 418030,
"name": "Subsistence",
"url": "subsistence"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11015091");
$data = json_decode($json, true);
var_dump($data);