Counter-Strike: Source
Nuke Nation Servidor Publico [100 TICKS] by GarryHost için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6105825json
{
"response": {
"steam_id": "85568392935829439",
"domain": null,
"id": 6105825,
"ip": "45.235.98.240",
"port": 27055,
"query": 27055,
"color": 0,
"city": "Córdoba",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1772202091,
"score": 0,
"last_online": 1776110414,
"icon": null,
"name": "Nuke Nation Servidor Publico [100 TICKS] by GarryHost",
"connect": "45.235.98.240:27055",
"request": "45.235.98.240:27055",
"map": "cs_office",
"gamemode": "Nuke Nation",
"version": "9540945",
"numplayers": 15,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 72,
"add_date": 1727829563,
"last_update": 1776110414,
"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": 272,
"language": "es",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6105825");
$data = json_decode($json, true);
var_dump($data);