V Rising
API pentru New York Citaaaaay
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11167292json
{
"response": {
"steam_id": "90284021342732301",
"domain": null,
"id": 11167292,
"ip": "147.135.105.137",
"port": 5585,
"query": 5586,
"color": 0,
"city": "Hillsboro",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1773387134,
"score": 0,
"last_online": 1776808321,
"icon": null,
"name": "New York Citaaaaay",
"connect": "147.135.105.137:5585",
"request": "147.135.105.137:5586",
"map": "VRisingWorld",
"gamemode": "b7253b6b-0d64-47bd-be9a-84636dc59836",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772228655,
"last_update": 1776808321,
"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": 2201,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11167292");
$data = json_decode($json, true);
var_dump($data);