Counter-Strike: Source
API pentru [RUS] █ F2PKI █ CS:S - Minigames
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10449865json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10449865,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"uWuxje0yIT\",\"type\":\"paragraph\",\"data\":{\"text\":\"Counter-Strike: Source - Minigames. Мини-игры от course до забавных карт. Плавная работа сервера, полное отсутствие pay2win привилегий. Всё сделано игроками, для игроков.\"}}]",
"game": 240,
"owner": 32846,
"boosts": 1,
"last_offline": 1761803543,
"score": 0,
"last_online": 1760856014,
"icon": null,
"name": "[RUS] █ F2PKI █ CS:S - Minigames",
"connect": null,
"request": null,
"map": "mg_creative_multigames_v9c",
"gamemode": "Counter-Strike: Source",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1759925529,
"last_update": 1761803543,
"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": 1873,
"language": "ru",
"parked": true,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "BorisFPTyel",
"avatar": "fb1d4336-4fdc-401c-b0bb-39f73eb94666.jpg",
"last_online": 1771654683
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10449865");
$data = json_decode($json, true);
var_dump($data);