Samp
API pentru ПАСХАЛЬНЫЕ ЗАДАНИЯ НА REAL MONEY
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11489117json
{
"response": {
"steam_id": null,
"domain": "a.attractive-reborn.com",
"id": 11489117,
"ip": "185.17.0.49",
"port": 7777,
"query": 7777,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000035,
"owner": null,
"boosts": 1,
"last_offline": 1776094875,
"score": 0,
"last_online": 1776353429,
"icon": null,
"name": "ПАСХАЛЬНЫЕ ЗАДАНИЯ НА REAL MONEY",
"connect": "a.attractive-reborn.com:7777",
"request": "185.17.0.49:7777",
"map": "San Andreas",
"gamemode": "PC | Android | Mobile",
"version": "0.3.7-R3",
"numplayers": 136,
"maxplayers": 300,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 57,
"add_date": 1776094875,
"last_update": 1776353429,
"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": 60,
"language": "ru",
"parked": false,
"app": {
"id": 168,
"steam_id": 9000035,
"name": "Samp",
"url": "samp"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11489117");
$data = json_decode($json, true);
var_dump($data);