Just Cause 2: Multiplayer Mod
API для Gaveroid's ★ Explore, Discover, Destroy!
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1469740json
{
"response": {
"steam_id": "90284002036828162",
"domain": null,
"id": 1469740,
"ip": "149.88.33.98",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Buffalo",
"description": "Gaveroid's server offers tons of features to help obtain the ultimate gaming experience. We have custom server achievements and easter eggs, progressive factions, vehicles that can be destroyed by weapons and more. You can also join Gaveroid's Scavenger Hunt and win PC game prizes, in-game cash & points. discord.gaveroid.com www.gaveroid.com",
"game": 259080,
"owner": null,
"boosts": 1,
"last_offline": 1771276863,
"score": null,
"last_online": 1776534026,
"icon": null,
"name": "Gaveroid's ★ Explore, Discover, Destroy!",
"connect": "149.88.33.98:7777",
"request": "149.88.33.98:7777",
"map": "Players: 0/200",
"gamemode": "Just Cause 2: Multiplayer Mod",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1697314019,
"last_update": 1776534026,
"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": 2,
"language": "en",
"parked": false,
"app": {
"id": 32,
"steam_id": 259080,
"name": "Just Cause 2: Multiplayer Mod",
"url": "just-cause-2-multiplayer-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1469740");
$data = json_decode($json, true);
var_dump($data);