Counter-Strike: Source
API für DISPONIVEL PARA LOCAÇÃO@CGBGames
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11043019json
{
"response": {
"steam_id": "90283639850089486",
"domain": null,
"id": 11043019,
"ip": "104.234.189.172",
"port": 27574,
"query": 27574,
"color": 0,
"city": "Cotia",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1774969929,
"score": 0,
"last_online": 1776160851,
"icon": null,
"name": "DISPONIVEL PARA LOCAÇÃO@CGBGames",
"connect": "104.234.189.172:27574",
"request": "104.234.189.172:27574",
"map": "cs_militia",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769953251,
"last_update": 1776160851,
"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": 1510,
"language": "pt",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11043019");
$data = json_decode($json, true);
var_dump($data);