API dla [BRASIL] ARMAPOINT | EAP - RECRUTAMENTO - 2020
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286627678108684",
"domain": null,
"id": 6873395,
"ip": "104.194.9.235",
"port": 2322,
"query": 2323,
"project_id": null,
"color": 0,
"city": "Piscataway",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776247316,
"last_online": 1780710166,
"icon": null,
"name": "[BRASIL] ARMAPOINT | EAP - RECRUTAMENTO - 2020",
"connect": "104.194.9.235:2322",
"request": "104.194.9.235:2323",
"map": null,
"gamemode": "Waiting",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1734014741,
"last_update": 1780710166,
"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": 992,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/6873395");
$data = json_decode($json, true);
var_dump($data);