Avorion
[RUS] LongPlay için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9731586json
{
"response": {
"steam_id": "90284567474548763",
"domain": null,
"id": 9731586,
"ip": "86.57.148.206",
"port": 27000,
"query": 27020,
"color": 0,
"city": "Minsk",
"description": "[{\"id\":\"11vfwhmiw\",\"type\":\"paragraph\",\"data\":{\"text\":\"HARDCORE! - Not for the weak! | 24/7 | PvPvE | no wipe | https://discord.gg/nGX5UtYS9E\"}}]",
"game": 445220,
"owner": 132541,
"boosts": 1,
"last_offline": 1776211317,
"score": 5,
"last_online": 1776440409,
"icon": null,
"name": "[RUS] LongPlay",
"connect": "86.57.148.206:27000",
"request": "86.57.148.206:27020",
"map": "LONGPLAY",
"gamemode": "Avorion",
"version": "2.5.13.44140",
"numplayers": 3,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "BY",
"status": true,
"votes": 23,
"points": 130,
"add_date": 1752145500,
"last_update": 1776440409,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2,
"language": "ru",
"parked": false,
"app": {
"id": 172,
"steam_id": 445220,
"name": "Avorion",
"url": "avorion"
},
"server_owner": {
"username": "PLeXToR",
"avatar": "no.jpg",
"last_online": 1776415141
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/9731586");
$data = json_decode($json, true);
var_dump($data);