Dark and Light
API for 沙盒【松鼠】 C15F30 领自动套 1月2日 - (v100.54351)
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/1276560json
{
"response": {
"steam_id": "90279665214738441",
"domain": null,
"id": 1276560,
"ip": "182.44.16.14",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Jinan",
"description": "",
"game": 529180,
"owner": null,
"boosts": 1,
"last_offline": 1773545567,
"score": null,
"last_online": 1776636627,
"icon": null,
"name": "沙盒【松鼠】 C15F30 领自动套 1月2日 - (v100.54351)",
"connect": "182.44.16.14:7777",
"request": "182.44.16.14:27015",
"map": "DNL_ALL",
"gamemode": "TestGameMode_C",
"version": "1.0.0.0",
"numplayers": 9,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 54,
"add_date": 1692443668,
"last_update": 1776636627,
"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": 56,
"language": "zh",
"parked": false,
"app": {
"id": 180,
"steam_id": 529180,
"name": "Dark and Light",
"url": "dark-and-light"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/1276560");
$data = json_decode($json, true);
var_dump($data);