Subsistence
API für Primal Rage Gaming Easy
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10614771json
{
"response": {
"steam_id": "90284549322307586",
"domain": null,
"id": 10614771,
"ip": "192.169.81.194",
"port": 7877,
"query": 27915,
"color": 0,
"city": "Dallas",
"description": "Hunters are 2 weeks on, 1 week off. Map wide tram system. Base decay after 60 days. discord.gg/primalrage",
"game": 418030,
"owner": null,
"boosts": 1,
"last_offline": 1775435523,
"score": 0,
"last_online": 1776475209,
"icon": null,
"name": "Primal Rage Gaming Easy",
"connect": "192.169.81.194:7877",
"request": "192.169.81.194:27915",
"map": "coldmap1",
"gamemode": "ColdGame",
"version": "13249",
"numplayers": 8,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 131,
"add_date": 1763325012,
"last_update": 1776475209,
"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": 1,
"language": "en",
"parked": false,
"app": {
"id": 139,
"steam_id": 418030,
"name": "Subsistence",
"url": "subsistence"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10614771");
$data = json_decode($json, true);
var_dump($data);