Quake Live
The Purgery #4 - PQL Custom के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/4799166json
{
"response": {
"steam_id": "90284366664803341",
"domain": null,
"id": 4799166,
"ip": "45.125.247.91",
"port": 27963,
"query": 27963,
"color": 0,
"city": "Sydney",
"description": null,
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1768642268,
"score": 0,
"last_online": 1776242430,
"icon": null,
"name": "The Purgery #4 - PQL Custom",
"connect": "45.125.247.91:27963",
"request": "45.125.247.91:27963",
"map": "infinity",
"gamemode": "Capture the Flag",
"version": "1069 linux-x64 Jun 3 2016 20:53:50",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1718442786,
"last_update": 1776242430,
"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": 239,
"language": "en",
"parked": false,
"app": {
"id": 138,
"steam_id": 282440,
"name": "Quake Live",
"url": "quake-live"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/4799166");
$data = json_decode($json, true);
var_dump($data);