Counter-Strike 2
API pentru |CS2| FPS PowerUp [FPS-BOOST] [Skins]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/3410235json
{
"response": {
"steam_id": null,
"domain": null,
"id": 3410235,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"CehGTFgtOY\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/de6cb487-c1a2-4485-8486-a559db5bc3a9.png\"}}},{\"id\":\"u1v1aaex5\",\"type\":\"paragraph\",\"data\":{\"text\":\"Данный сервер предназначен для комфортной и душевной игры!\\nНаши возможности \\n1.Boost FPS , прирост кадров в секунду\\n2.Skinschanger (Менять скины на какие захочется)\\n3.Адекватное комьюнити \\nСкорее заходи играть 🎮\"}},{\"id\":\"g81ehc9fi\",\"type\":\"paragraph\",\"data\":{\"text\":\"Наш дискорд: [https://discord.gg/fpspower](https://discord.gg/fpspower)\\nНаш Сайт: [https://fps-power.ru/](https://fps-power.ru/)\"}}]",
"game": 730,
"owner": 66854,
"boosts": 1,
"last_offline": 1756334419,
"score": 5,
"last_online": 1752003020,
"icon": null,
"name": "|CS2| FPS PowerUp [FPS-BOOST] [Skins]",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 27,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1710407897,
"last_update": 1756334419,
"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": 11436,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "BionicPlay",
"avatar": "7ad96c92-9892-4e97-b701-68ee94e3ec33.jpg",
"last_online": 1751585471
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/3410235");
$data = json_decode($json, true);
var_dump($data);