Samp
API for [M] Macedonia RPG | www.mrp.mk
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10882791json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10882791,
"ip": "31.56.81.15",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776400418,
"score": 0,
"last_online": 1776830432,
"icon": null,
"name": "[M] Macedonia RPG | www.mrp.mk",
"connect": "31.56.81.15:7777",
"request": "31.56.81.15:7777",
"map": "Macedonia",
"gamemode": "M:RPG Spring v2.5.8",
"version": "omp 1.4.0.2783",
"numplayers": 70,
"maxplayers": 600,
"bots": 0,
"secured": null,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1768320799,
"last_update": 1776830432,
"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": 86,
"language": "nl",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10882791");
$data = json_decode($json, true);
var_dump($data);