Samp
API pentru MCNR 7th Anniversary! [22/04/2026]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/4785141json
{
"response": {
"steam_id": null,
"domain": null,
"id": 4785141,
"ip": "51.75.131.194",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Roubaix",
"description": "",
"game": 9000035,
"owner": 79038,
"boosts": 1,
"last_offline": 1769208692,
"score": 0,
"last_online": 1776342017,
"icon": null,
"name": "MCNR 7th Anniversary! [22/04/2026]",
"connect": "51.75.131.194:7777",
"request": "51.75.131.194:7777",
"map": "LV (LS next)",
"gamemode": "Mike's Cops and Robbers",
"version": "0.3.7-R2 | 2.3.2 R1",
"numplayers": 21,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 68,
"add_date": 1718269512,
"last_update": 1776342017,
"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": 25,
"language": "fr",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": {
"username": "mp2",
"avatar": "2148d883-441f-4292-8d04-a1f7333bbde3.jpg",
"last_online": 1722933650
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/4785141");
$data = json_decode($json, true);
var_dump($data);