Ricochet
API для gabutiqueRC#1 latinoamérica [Público]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7832096json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7832096,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 60,
"owner": 59544,
"boosts": 1,
"last_offline": 1754645637,
"score": 0,
"last_online": 1751946252,
"icon": null,
"name": "gabutiqueRC#1 latinoamérica [Público]",
"connect": null,
"request": null,
"map": "rc_deathmatch2",
"gamemode": "Ricochet",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "CL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1740094317,
"last_update": 1754645637,
"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": 14,
"language": "es",
"parked": true,
"app": {
"id": 25,
"steam_id": 60,
"name": "Ricochet",
"url": "ricochet"
},
"server_owner": {
"username": "babilonialights",
"avatar": "27327568-a995-4cdd-9e1c-040026b2c812.jpg",
"last_online": 1747471781
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7832096");
$data = json_decode($json, true);
var_dump($data);