VEIN
API für Larwinkle
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11171520json
{
"response": {
"steam_id": "90281205685872650",
"domain": null,
"id": 11171520,
"ip": "142.79.47.36",
"port": 9030,
"query": 9031,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1773748326,
"score": 0,
"last_online": 1776811830,
"icon": null,
"name": "Larwinkle",
"connect": "142.79.47.36:9030",
"request": "142.79.47.36:9031",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.022h18",
"numplayers": 3,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 43,
"add_date": 1772229071,
"last_update": 1776811830,
"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": 79,
"language": "en",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11171520");
$data = json_decode($json, true);
var_dump($data);