Garry's Mod
API pentru V3X'S PILL PACK HIDE&SEEK | SEASON 1
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10481794json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10481794,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"1HgMZx7mhk\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/9c016600-eb00-4d53-8e40-9e4b998ec406.png\"}}},{\"id\":\"K2PJZvb8ru\",\"type\":\"paragraph\",\"data\":{\"text\":\"What is this you may ask?\"}},{\"id\":\"2KYRQMiXeM\",\"type\":\"paragraph\",\"data\":{\"text\":\"WELLL GOOD THAT YOU ASKED!\"}},{\"id\":\"b3DpP3ieEH\",\"type\":\"paragraph\",\"data\":{\"text\":\"This server is for a gamemode called pill pack hide and seek, a mode where seeker(s) look for hider(s) around multiple maps. The seeker(s) objective is to kill all the hiders before the timer ends! The hiders objective is to survive until the timer ends.\"}},{\"id\":\"oRtSo7oEXf\",\"type\":\"paragraph\",\"data\":{\"text\":\"Whats a pill pack?\"}},{\"id\":\"e9EKp_Q_DZ\",\"type\":\"paragraph\",\"data\":{\"text\":\"A pill pack is like some creature you control! You can do multiple things with it.\"}},{\"id\":\"frJSn1k5vo\",\"type\":\"paragraph\",\"data\":{\"text\":\"Anyways,\"}},{\"id\":\"EYXVWR_Bj7\",\"type\":\"paragraph\",\"data\":{\"text\":\"Come on in and have fun!\"}}]",
"game": 4000,
"owner": 140895,
"boosts": 1,
"last_offline": 1764395452,
"score": 5,
"last_online": 1763449812,
"icon": null,
"name": "V3X'S PILL PACK HIDE&SEEK | SEASON 1",
"connect": null,
"request": null,
"map": "gm_construct_renovation_night",
"gamemode": "Pill Pack Hide & Seek",
"version": null,
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1760825753,
"last_update": 1764395452,
"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": 3747,
"language": "en",
"parked": true,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": {
"username": "v3x_x3v",
"avatar": "no.jpg",
"last_online": 1772151944
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10481794");
$data = json_decode($json, true);
var_dump($data);