Reldez's Open Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286845149247514",
"domain": null,
"id": 10897594,
"ip": "54.39.159.78",
"port": 27570,
"query": 27570,
"project_id": null,
"color": 0,
"city": "Beauharnois",
"description": "Welcome to Reldez's Open Server! Pve Focused. Reldez is streaming his gameplay LIVE on twitch so COME HANG OUT!",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1781103271,
"last_online": 1781364032,
"icon": null,
"name": "Reldez's Open Server",
"connect": "54.39.159.78:27570",
"request": "54.39.159.78:27570",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768384112,
"last_update": 1781364032,
"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": 1037,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10897594");
$data = json_decode($json, true);
var_dump($data);