Call of Duty: Black Ops III
API für ^8[Sphynx] | ^9Sphynx Console Commands^7 - ^3Round:^7 3
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10515219json
{
"response": {
"steam_id": "90285088411838472",
"domain": null,
"id": 10515219,
"ip": "45.51.235.103",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Bellflower",
"description": null,
"game": 311210,
"owner": null,
"boosts": 1,
"last_offline": 1777506754,
"score": 0,
"last_online": 1777407618,
"icon": null,
"name": "^8[Sphynx] | ^9Sphynx Console Commands^7 - ^3Round:^7 3",
"connect": "45.51.235.103:27017",
"request": "45.51.235.103:27017",
"map": "zm_test6",
"gamemode": "^8[Sphynx]^7 Playing with console commands \n^9- 1: Players",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761423848,
"last_update": 1777506754,
"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": 7,
"language": "en",
"parked": false,
"app": {
"id": 4041,
"steam_id": 311210,
"name": "Call of Duty: Black Ops III",
"url": "call-of-duty-black-ops-iii"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10515219");
$data = json_decode($json, true);
var_dump($data);