API für 4Netplayers portate bien
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": 90286493985203200,
"domain": null,
"id": 11667878,
"ip": "89.43.106.163",
"port": 20000,
"query": 20010,
"color": 0,
"city": "Santana de Parnaíba",
"description": null,
"game": 418030,
"owner": null,
"boosts": 1,
"last_offline": 1780179320,
"last_online": 1780352442,
"icon": null,
"name": "4Netplayers portate bien",
"connect": "89.43.106.163:20000",
"request": "89.43.106.163:20010",
"map": "coldmap1",
"gamemode": "ColdGame",
"version": "13249",
"numplayers": 1,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1780179320,
"last_update": 1780352442,
"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": 165,
"language": "pt",
"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/11667878");
$data = json_decode($json, true);
var_dump($data);