Samp
API для Arizona Manera | Role Play | x2 donate
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10856216json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10856216,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Veliky Novgorod",
"description": "[{\"id\":\"P_llhqV5Z6\",\"type\":\"linkTool\",\"data\":{\"link\":\"https://t.me/ManeraRolePlay\",\"meta\":{\"description\":null,\"image\":{\"url\":\"https://cdn4.telesco.pe/file/UfV7D1rPTWHP4Pbg_ZybnkxAVOWIUcwQvCxV_3_FHIUnsDBZ1D3mSuKhKJp3CgLsLoyR3hKWx8mAyzIh4la9dhhmlsVR39DK_cP7TLizw4wLjVlSb4g4qccqC-5cp_tkbqzZXBwwVLoItGcvZ7pOURcYGs_fTB5B7pva6EfaFgtV_qTimH7hMdD7KRu-sapQCHi3TTa_LW7-Eq5o7Jh4ngnpOkAaTbAK3RLVwznFbcoR7ivwY7ZaP3CoOgz6IV4igLgpy26KMlkblwQl5ZnQr19Gjwvoq48312S_UP7OyGMxSk8BiDEqtx-ecwpz5YVmIh_SEzTwheKDq_48_ed5kw.jpg\"},\"title\":\"Telegram: View @ManeraRolePlay\"}}},{\"id\":\"fOdfEanl1a\",\"type\":\"header\",\"data\":{\"text\":\"Скачать лаунчер: https://files.nicewebs.ru/lr9196/launcher.zip\",\"level\":2}},{\"id\":\"TMd_vzavhX\",\"type\":\"image\",\"data\":{\"caption\":\"https://files.nicewebs.ru/lr9196/launcher.zip\",\"withBorder\":false,\"withBackground\":true,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/bcadf655-4534-41a2-831e-a0dedcef4775.jpg\"}}}]",
"game": 9000035,
"owner": 50559,
"boosts": 1,
"last_offline": 1772603456,
"score": 0,
"last_online": 1771707011,
"icon": null,
"name": "Arizona Manera | Role Play | x2 donate",
"connect": null,
"request": null,
"map": "San Andreas",
"gamemode": "Manera Role Play | https://t.m",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768097775,
"last_update": 1772603456,
"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": 913,
"language": "ru",
"parked": true,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": {
"username": "BoomKa",
"avatar": "01683139-104c-4b11-aa71-02d281abe048.jpg",
"last_online": 1768495803
},
"mods": [
{
"id": 379,
"name": "VIP"
},
{
"id": 1988,
"name": "arizona"
}
],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10856216");
$data = json_decode($json, true);
var_dump($data);