API pentru CS2 CUSTOM MATCHES [SG] — CYBERSHOKE.NET

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/8054577
json
{
  "response": {
    "steam_id": 85568392935142180,
    "domain": null,
    "id": 8054577,
    "ip": "51.79.163.140",
    "port": 28015,
    "query": 28015,
    "color": 0,
    "city": "Singapore",
    "description": "![[JP] RustEZ Pure PvE | No Decay | No Killing | No Raiding](https://www.rustez.com/uploads/manual/headers/purehead.png)\nPure is a well-balanced, high-performance vanilla server that offers players a pure experience so they can play the game as it's meant to be played without the fear of other players.\r\n\r\nInformation\r\n● Decay and upkeep disabled\r\n● Player and building damage disabled\r\n● Wipes only when forced [Last wipe: 7/3]\r\n● Active admins and very helpful community\r\n● Inactive players removed after 10 days of inactivity\r\n\r\nFeatures\r\n● Commerce - Enjoy a rich player-driven economy.\r\n● Vehicles - Cars, minicopters, boats and hot air balloons.\r\n● Events - Organized or spontaneous events hosted by our admins for all players to enjoy.\r\n\r\nUse /help in chat for a full list of commands and helpful information.\r\n\r\nRules\r\n● No raiding, griefing or looting of any kind.\r\n● No mic or chat spam, player disrespect, racism or harassment.\r\n● No camping loot rooms, monuments or any highly concentrated areas.\r\n● You may build in caves but you must ensure safe passage for players.\r\n● No blocking waterways, building around monuments or large areas of land.",
    "game": 730,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776758001,
    "score": 0,
    "last_online": 1776803423,
    "icon": null,
    "name": "CS2 CUSTOM MATCHES [SG] — CYBERSHOKE.NET",
    "connect": "51.79.163.140:28015",
    "request": "51.79.163.140:28015",
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": "1.41.5.2",
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 1,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1741383958,
    "last_update": 1776803423,
    "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": 521,
    "language": "en",
    "parked": false,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8054577");
$data = json_decode($json, true);
var_dump($data);