Counter-Strike: Global Offensive
pip 六服 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11025134json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11025134,
"ip": "1.95.113.193",
"port": 10006,
"query": 10006,
"color": 0,
"city": "Guiyang",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1769948912,
"score": 0,
"last_online": 1776018659,
"icon": null,
"name": "pip 六服",
"connect": "1.95.113.193:10006",
"request": "1.95.113.193:10006",
"map": "kz_yes",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769948912,
"last_update": 1776018659,
"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": 1341,
"language": "zh",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11025134");
$data = json_decode($json, true);
var_dump($data);