Creativerse
API для Russian
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/819159json
{
"response": {
"steam_id": "90285153974878230",
"domain": null,
"id": 819159,
"ip": "185.204.3.180",
"port": 26900,
"query": 26901,
"color": 0,
"city": "Moscow",
"description": "",
"game": 280790,
"owner": null,
"boosts": 1,
"last_offline": 1774993934,
"score": 5,
"last_online": 1777535476,
"icon": null,
"name": "Russian",
"connect": "185.204.3.180:26900",
"request": "185.204.3.180:26901",
"map": "683b70aeccac11e588d7fa4d16b0415",
"gamemode": "Peaceful Survival",
"version": "4.2.1.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684363246,
"last_update": 1777535476,
"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": 3,
"language": "ru",
"parked": false,
"app": {
"id": 3155,
"steam_id": 280790,
"name": "Creativerse",
"url": "creativerse"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/819159");
$data = json_decode($json, true);
var_dump($data);