Left 4 Dead 2
के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/5099156json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5099156,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Kuala Lumpur",
"description": "[{\"id\":\"ZqNgZKvNIF\",\"type\":\"paragraph\",\"data\":{\"text\":\"A vanilla+ community server featuring quality-of-life improvement and aiming to retain as much original gameplay as possible.\"}},{\"id\":\"chXHbOPMom\",\"type\":\"linkTool\",\"data\":{\"link\":\"https://steamcommunity.com/groups/RedHerrA\",\"meta\":{\"title\":\"Steam Community :: Group :: Red Herring Asia\",\"description\":null,\"image\":{\"url\":\"https://avatars.akamai.steamstatic.com/4fe077ae27f5735297ecb2ed5310720ad2db3282_full.jpg\"}}}},{\"id\":\"rKVycffT8R\",\"type\":\"linkTool\",\"data\":{\"link\":\"https://steamcommunity.com/chat/invite/EioEcZhA\",\"meta\":{\"title\":\"Steam Community :: Chat Invitation\",\"description\":null,\"image\":{\"url\":\"https://community.akamai.steamstatic.com/public/shared/images/responsive/share_steam_logo.png\"}}}}]",
"game": 550,
"owner": 79962,
"boosts": 1,
"last_offline": 1776405777,
"score": 0,
"last_online": 1775488839,
"icon": null,
"name": null,
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": null,
"private": false,
"country": "MY",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1720716836,
"last_update": 1776405777,
"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": 13172,
"language": "ms",
"parked": true,
"app": {
"id": 11,
"steam_id": 550,
"name": "Left 4 Dead 2",
"url": "left-4-dead-2"
},
"server_owner": {
"username": "steeg11",
"avatar": "no.jpg",
"last_online": 1730195822
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/5099156");
$data = json_decode($json, true);
var_dump($data);