Miscreated
API pentru Netplayers Nomads Canyonlands PVE
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10757285json
{
"response": {
"steam_id": "90284754966244377",
"domain": null,
"id": 10757285,
"ip": "135.181.116.184",
"port": 23500,
"query": 23502,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 299740,
"owner": null,
"boosts": 1,
"last_offline": 1776805404,
"score": 0,
"last_online": 1776825143,
"icon": null,
"name": "Netplayers Nomads Canyonlands PVE",
"connect": "135.181.116.184:23500",
"request": "135.181.116.184:23502",
"map": "canyonlands",
"gamemode": "Miscreated: 1011142",
"version": "1011142",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766255043,
"last_update": 1776825143,
"banned": false,
"wipe": null,
"official": true,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 54,
"language": "fi",
"parked": false,
"app": {
"id": 69,
"steam_id": 299740,
"name": "Miscreated",
"url": "miscreated"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10757285");
$data = json_decode($json, true);
var_dump($data);