Avorion
Miser Country के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10998638json
{
"response": {
"steam_id": "90284091091840003",
"domain": null,
"id": 10998638,
"ip": "72.46.128.202",
"port": 27000,
"query": 27020,
"color": 0,
"city": "Las Vegas",
"description": "An Avorion Server",
"game": 445220,
"owner": null,
"boosts": 1,
"last_offline": 1775266326,
"score": 0,
"last_online": 1776222612,
"icon": null,
"name": "Miser Country",
"connect": "72.46.128.202:27000",
"request": "72.46.128.202:27020",
"map": "654651ijlkmlxd",
"gamemode": "Avorion",
"version": "2.5.13.44140",
"numplayers": 3,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 81,
"add_date": 1769906529,
"last_update": 1776222612,
"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": 8,
"language": "en",
"parked": false,
"app": {
"id": 172,
"steam_id": 445220,
"name": "Avorion",
"url": "avorion"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10998638");
$data = json_decode($json, true);
var_dump($data);