Garry's Mod
PERPLife Semi-serious COLORADO RP 🍃 Coming soon 🍃 için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11327213json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11327213,
"ip": "135.148.43.17",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Reston",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1775874680,
"score": 0,
"last_online": 1775202644,
"icon": null,
"name": "PERPLife Semi-serious COLORADO RP 🍃 Coming soon 🍃",
"connect": "135.148.43.17:27015",
"request": "135.148.43.17:27015",
"map": "rp_riverden_v1a",
"gamemode": "DarkRP",
"version": null,
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774594176,
"last_update": 1775874680,
"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": 4521,
"language": "en",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11327213");
$data = json_decode($json, true);
var_dump($data);