TG | Games | Player | VANILLA | Munição | SupotFogo için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "85568392932622045",
"domain": null,
"id": 11579326,
"ip": "177.54.151.123",
"port": 27102,
"query": 27103,
"color": 0,
"city": "São Paulo",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1779816810,
"last_online": 1779804677,
"icon": null,
"name": "TG | Games | Player | VANILLA | Munição | SupotFogo",
"connect": "177.54.151.123:27102",
"request": "177.54.151.123:27103",
"map": "GooseMinistry",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779356962,
"last_update": 1779816810,
"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": 479,
"language": "pt",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11579326");
$data = json_decode($json, true);
var_dump($data);