API pentru [RU] NIKITO IVENTY SERVER
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10505803,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"vEc0HkDeGC\",\"type\":\"paragraph\",\"data\":{\"text\":\"Готов к настоящему вызову? \\nРУССКИЙ ПВП СЕРВЕР | НИКИТО ИВЕНТЫ ждет тебя. \\nИнтенсивные бои, рейды и захватывающие, авторские ивенты от Никито. \\nБЕЗ ПРАВИЛ и СЕЙФ-ЗОН! Лут респавн 6ч.\\nDiscord: discord.gg/8PDeBAysdn\"}}]",
"game": 108600,
"owner": 141431,
"boosts": 1,
"last_offline": 1763024180,
"last_online": 1762100411,
"icon": null,
"name": "[RU] NIKITO IVENTY SERVER",
"connect": null,
"request": null,
"map": "EvntMapIvlla",
"gamemode": "Project Zomboid",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761135033,
"last_update": 1763024180,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": true,
"hide_query": false,
"position_game": 11679,
"language": "ru",
"parked": true,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": {
"username": "nikitocover",
"avatar": "no.jpg"
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10505803");
$data = json_decode($json, true);
var_dump($data);