Ricochet
API pentru © ORIGINAL RICOCHET
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/138167json
{
"response": {
"steam_id": 90071992547409920,
"domain": null,
"id": 138167,
"ip": "89.179.240.119",
"port": 27045,
"query": 27045,
"color": 0,
"city": "Moscow",
"description": "",
"game": 60,
"owner": null,
"boosts": 1,
"last_offline": 1776034936,
"score": null,
"last_online": 1776171011,
"icon": null,
"name": "© ORIGINAL RICOCHET",
"connect": "89.179.240.119:27045",
"request": "89.179.240.119:27045",
"map": "rc_deathmatch2",
"gamemode": "Ricochet",
"version": "1.1.2.1/Stdio",
"numplayers": 2,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 95,
"add_date": 1552754927,
"last_update": 1776171011,
"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": 1,
"language": "ru",
"parked": false,
"app": {
"id": 25,
"steam_id": 60,
"name": "Ricochet",
"url": "ricochet"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/138167");
$data = json_decode($json, true);
var_dump($data);