Spacewar
API pentru #6 | OFFICIAL NO-LIMIT | CASUAL MODE
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11135355json
{
"response": {
"steam_id": "90284802936699934",
"domain": null,
"id": 11135355,
"ip": "194.147.90.93",
"port": 22453,
"query": 22453,
"color": 0,
"city": "Moscow",
"description": null,
"game": 480,
"owner": null,
"boosts": 1,
"last_offline": 1776784398,
"score": 0,
"last_online": 1776853825,
"icon": null,
"name": "#6 | OFFICIAL NO-LIMIT | CASUAL MODE",
"connect": "194.147.90.93:22453",
"request": "194.147.90.93:22453",
"map": "Scarland",
"gamemode": null,
"version": "1.2.2",
"numplayers": 18,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 55,
"add_date": 1770398150,
"last_update": 1776853825,
"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": 6,
"language": "ru",
"parked": false,
"app": {
"id": 54694,
"steam_id": 480,
"name": "Spacewar",
"url": "spacewar"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11135355");
$data = json_decode($json, true);
var_dump($data);