Counter-Strike: Source
API pentru [v93] PIXELHOP [100 tickrate]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10454630json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10454630,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": 157057,
"boosts": 1,
"last_offline": 1773726684,
"score": 0,
"last_online": 1772856022,
"icon": null,
"name": "[v93] PIXELHOP [100 tickrate]",
"connect": null,
"request": null,
"map": "bhop_goldsrc2",
"gamemode": "Counter-Strike: Source",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1760086692,
"last_update": 1773726684,
"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": 1940,
"language": "ru",
"parked": true,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "vanechkin2013",
"avatar": "5fc8c212-f6db-4b9b-8fe0-ea0073b4531a.jpg",
"last_online": 1770563418
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10454630");
$data = json_decode($json, true);
var_dump($data);