Project Zomboid
Human Extinction | PvEvP | Sprinters | 42.18.0 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11436681json
{
"response": {
"steam_id": "90285626978669586",
"domain": null,
"id": 11436681,
"ip": "138.201.81.109",
"port": 60409,
"query": 60409,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1778414584,
"score": 0,
"last_online": 1778521343,
"icon": null,
"name": "Human Extinction | PvEvP | Sprinters | 42.18.0",
"connect": "138.201.81.109:60409",
"request": "138.201.81.109:60409",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774977280,
"last_update": 1778521343,
"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": 3937,
"language": "de",
"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/11436681");
$data = json_decode($json, true);
var_dump($data);