API pentru » Freeroam Unlimited - By Luke JC «

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/3699912
json
{
  "response": {
    "steam_id": "90282323179662338",
    "domain": null,
    "id": 3699912,
    "ip": "139.177.181.121",
    "port": 4100,
    "query": 4100,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "Version 1.0 \n \n------------------------------------------------------------------ \n \nGiving you access to everything Just Cause 2 has to offer to mess around with, plus meaningful minor additions that improve the core freeroam experience! \nNo limits, no nonsense, ultimate freedom! \n \n------------------------------------------------------------------ \n \n - Expanded spawn menu: \n Get any vehicle or weapon for free, change parachute skin and player-model, spawn props, trigger player animations and game events, apparel, teleports, tools and more! \n \n - Numpad tools \n - Freecam \n - Boost, insta-brake and turbojump \n - No air-spawn and random respawn\n - Passive mode \n - Improved vehicle air-control \n - Camera modes \n - Wingsuit \n \n...and more! \n \n------------------------------------------------------------------ \n \n  > Just Cause community server \n    > https://unlimitedjc.com/discord \n \n  > Also try my JC3MP server! \n  > Still getting updates!",
    "game": 259080,
    "owner": null,
    "boosts": 1,
    "last_offline": 1768642077,
    "score": null,
    "last_online": 1776523826,
    "icon": null,
    "name": "» Freeroam Unlimited - By Luke JC «",
    "connect": "139.177.181.121:4100",
    "request": "139.177.181.121:4100",
    "map": "Players: 1/100",
    "gamemode": "Just Cause 2: Multiplayer Mod",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1712147007,
    "last_update": 1776523826,
    "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": 4,
    "language": "de",
    "parked": false,
    "app": {
      "id": 32,
      "steam_id": 259080,
      "name": "Just Cause 2: Multiplayer Mod",
      "url": "just-cause-2-multiplayer-mod"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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