Project Zomboid
We dying with this one!!! के लिए API
हम एकीकरण विधियों की एक विस्तृत श्रृंखला प्रदान करते हैं। आप उनमें से किसी का भी उपयोग कर सकते हैं या JSON API का उपयोग करके अपना खुद का बना सकते हैं। यदि आपके पास नई एकीकरण विधि जोड़ने का सुझाव है, तो कृपया हमसे संपर्क करें। हमसे संपर्क करें
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11191860json
{
"response": {
"steam_id": "90283983572082718",
"domain": null,
"id": 11191860,
"ip": "74.217.200.31",
"port": 9055,
"query": 9055,
"color": 0,
"city": "Seattle",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774697546,
"score": 0,
"last_online": 1775722854,
"icon": null,
"name": "We dying with this one!!!",
"connect": "74.217.200.31:9055",
"request": "74.217.200.31:9055",
"map": "coryerdon;Pitstop;Pitstop;Gas S",
"gamemode": "Project Zomboid",
"version": "41.78.18",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772699194,
"last_update": 1775722854,
"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": 5573,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11191860");
$data = json_decode($json, true);
var_dump($data);