Animalia Survival
API pentru Animalistic PVP (Free heals and grows)
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/5319166json
{
"response": {
"steam_id": "90285205807601667",
"domain": null,
"id": 5319166,
"ip": "23.227.204.138",
"port": 31001,
"query": 31005,
"color": 0,
"city": "Atlanta",
"description": null,
"game": 1364290,
"owner": null,
"boosts": 1,
"last_offline": 1776679402,
"score": 0,
"last_online": 1777650033,
"icon": null,
"name": "Animalistic PVP (Free heals and grows)",
"connect": "23.227.204.138:31001",
"request": "23.227.204.138:31005",
"map": "Tanzania_Map",
"gamemode": "Animalia Survival",
"version": "175.0",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1721909755,
"last_update": 1777650033,
"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": 3,
"language": "en",
"parked": false,
"app": {
"id": 1579781,
"steam_id": 1364290,
"name": "Animalia Survival",
"url": "animalia-survival"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/5319166");
$data = json_decode($json, true);
var_dump($data);