API for 大家一起吃野人
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": "90286838571011073",
"domain": null,
"id": 11798300,
"ip": "110.42.96.41",
"port": 10371,
"query": 10372,
"project_id": null,
"color": 0,
"city": "Ningbo",
"description": null,
"game": 242760,
"owner": null,
"boosts": 1,
"last_offline": 1781378901,
"last_online": 1781430209,
"icon": null,
"name": "大家一起吃野人",
"connect": "110.42.96.41:10371",
"request": "110.42.96.41:10372",
"map": "Normal",
"gamemode": "The Forest",
"version": "0.11.3.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1781378901,
"last_update": 1781430209,
"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": 247,
"language": "zh",
"parked": false,
"app": {
"id": 184,
"steam_id": 242760,
"name": "The Forest",
"url": "the-forest"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11798300");
$data = json_decode($json, true);
var_dump($data);