API for Opportunity Gaming
JSON for programs, websites and more
text
json
{
"response": {
"channels": {
"onlinecount": 11,
"items": [
{
"clients": 0,
"id": 295,
"items": [],
"name": "[cspacer]Admins & Mods",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 318,
"items": [],
"name": "[spacer8]-.-",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [],
"name": "[spacer9]-.-",
"order": 2,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 200,
"items": [
{
"clients": 0,
"id": 201,
"items": [],
"name": "Channel 1",
"order": 0,
"parent_id": 200,
"topic": ""
},
{
"clients": 0,
"id": 202,
"items": [],
"name": "Channel 2",
"order": 201,
"parent_id": 200,
"topic": ""
},
{
"clients": 0,
"id": 203,
"items": [],
"name": "Channel 3",
"order": 202,
"parent_id": 200,
"topic": ""
}
],
"name": "[cspacer0]Community-Channel",
"order": 3,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 1,
"items": [],
"name": "[cspacer0]Eingangshalle",
"order": 86,
"parent_id": 0,
"topic": "Eingangshalle"
},
{
"clients": 0,
"id": 289,
"items": [],
"name": "[spacer1]-.-",
"order": 200,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 86,
"items": [],
"name": "[spacer4]___",
"order": 295,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 2,
"items": [],
"name": "[cspacer0]Away from keyboard",
"order": 318,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "979cd9VnZWu6IGCtTFVkDSN/8wI=",
"platform": "Linux",
"created": 0,
"uptime": 61207055,
"steam_id": null,
"domain": null,
"id": 10454542,
"ip": "5.9.28.130",
"port": 9987,
"query": 9987,
"project_id": null,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1760048178,
"last_online": 1781374252,
"icon": null,
"name": "Opportunity Gaming",
"connect": "5.9.28.130:9987",
"request": "5.9.28.130:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1760048178,
"last_update": 1781374252,
"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": 162,
"language": "de",
"parked": false,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10454542");
$data = json_decode($json, true);
var_dump($data);