2 Fangs 1 Suck के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286237406045209",
"domain": null,
"id": 11544326,
"ip": "144.126.153.199",
"port": 34100,
"query": 34115,
"color": 0,
"city": "St Louis",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780575831,
"last_online": 1779842480,
"icon": null,
"name": "2 Fangs 1 Suck",
"connect": "144.126.153.199:34100",
"request": "144.126.153.199:34115",
"map": "VRisingWorld",
"gamemode": "6bf0e193-0014-451d-8ddf-224ae4ec5588",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779355522,
"last_update": 1780575831,
"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": 4257,
"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/11544326");
$data = json_decode($json, true);
var_dump($data);