Source SDK Base 2013 Multiplayer
Thornskade's Server TF2 2007 Patched के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/1469791json
{
"response": {
"steam_id": "90285151644895234",
"domain": null,
"id": 1469791,
"ip": "81.169.212.61",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Berlin",
"description": "",
"game": 243750,
"owner": null,
"boosts": 1,
"last_offline": 1777340001,
"score": null,
"last_online": 1777599692,
"icon": null,
"name": "Thornskade's Server TF2 2007 Patched",
"connect": "81.169.212.61:27015",
"request": "81.169.212.61:27015",
"map": "ctf_2fort",
"gamemode": "Team Fortress",
"version": "6630498",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697314136,
"last_update": 1777599692,
"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": 3,
"language": "de",
"parked": false,
"app": {
"id": 159,
"steam_id": 243750,
"name": "Source SDK Base 2013 Multiplayer",
"url": "source-sdk-base-2013-multiplayer"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/1469791");
$data = json_decode($json, true);
var_dump($data);