VEIN
API pentru Critter County
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10994329json
{
"response": {
"steam_id": "90284392879272988",
"domain": null,
"id": 10994329,
"ip": "54.39.243.185",
"port": 27530,
"query": 27531,
"color": 0,
"city": "Beauharnois",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1769905019,
"score": 0,
"last_online": 1776314451,
"icon": null,
"name": "Critter County",
"connect": "54.39.243.185:27530",
"request": "54.39.243.185:27531",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.022h18",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769905019,
"last_update": 1776314451,
"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": 712,
"language": "en",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10994329");
$data = json_decode($json, true);
var_dump($data);