Rust
[RU] VERTEX TEST server के लिए API
हम एकीकरण विधियों की एक विस्तृत श्रृंखला प्रदान करते हैं। आप उनमें से किसी का भी उपयोग कर सकते हैं या JSON API का उपयोग करके अपना खुद का बना सकते हैं। यदि आपके पास नई एकीकरण विधि जोड़ने का सुझाव है, तो कृपया हमसे संपर्क करें। हमसे संपर्क करें
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10310594json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10310594,
"ip": "185.189.255.245",
"port": 35000,
"query": 35010,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"gY7ZxHQam5\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/66662080-3b94-4063-9ec6-223063e85305.png\"}}}]",
"game": 252490,
"owner": 178215,
"boosts": 1,
"last_offline": 1775772083,
"score": 4.9,
"last_online": 1775509212,
"icon": null,
"name": "[RU] VERTEX TEST server",
"connect": "185.189.255.245:35000",
"request": "185.189.255.245:35010",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1758288382,
"last_update": 1775772083,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9505,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "gorillbdo",
"avatar": "no.jpg",
"last_online": 1774185169
},
"mods": [
{
"id": 979,
"name": "Kits"
},
{
"id": 624,
"name": "Clans"
}
],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10310594");
$data = json_decode($json, true);
var_dump($data);