[RUS] LongPlay के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286560058845211",
"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": 1780470414,
"last_online": 1780578017,
"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": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "BY",
"status": true,
"votes": 16,
"points": 106,
"add_date": 1752145500,
"last_update": 1780578017,
"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"
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/9731586");
$data = json_decode($json, true);
var_dump($data);