The Isle
CSTF के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10620674json
{
"response": {
"steam_id": 90279454515506190,
"domain": null,
"id": 10620674,
"ip": "222.186.130.239",
"port": 7777,
"query": 7778,
"color": 0,
"city": "Nanjing",
"description": null,
"game": 376210,
"owner": null,
"boosts": 1,
"last_offline": 1768642273,
"score": 0,
"last_online": 1776447070,
"icon": null,
"name": "CSTF",
"connect": "222.186.130.239:7777",
"request": "222.186.130.239:7778",
"map": "Thenyaw Island",
"gamemode": "The Isle",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 197,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763326181,
"last_update": 1776447070,
"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": 107,
"language": "zh",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10620674");
$data = json_decode($json, true);
var_dump($data);