Hurtworld
API pentru ★ Community Legacy x2 Monthly
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10432259json
{
"response": {
"steam_id": "90284633976567812",
"domain": null,
"id": 10432259,
"ip": "194.61.56.173",
"port": 12877,
"query": 12878,
"color": 0,
"city": "Lodz",
"description": null,
"game": 393420,
"owner": null,
"boosts": 1,
"last_offline": 1772064094,
"score": 0,
"last_online": 1776585126,
"icon": null,
"name": "★ Community Legacy x2 Monthly",
"connect": "194.61.56.173:12877",
"request": "194.61.56.173:12878",
"map": "diemensland",
"gamemode": "Hurtworld",
"version": "53",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1759829329,
"last_update": 1776585126,
"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": 31,
"language": "pl",
"parked": false,
"app": {
"id": 134,
"steam_id": 393420,
"name": "Hurtworld",
"url": "hurtworld"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10432259");
$data = json_decode($json, true);
var_dump($data);