mirror of
https://git.bakhai.co.in/FbIN/4Get.git
synced 2025-11-07 04:51:30 +05:30
commit
c6e404d2af
132 changed files with 34951 additions and 0 deletions
27
ami4get.php
Normal file
27
ami4get.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
header("Content-Type: application/json");
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
|
||||
include "data/config.php";
|
||||
|
||||
$real_requests = apcu_fetch("real_requests");
|
||||
$bot_requests = apcu_fetch("captcha_gen");
|
||||
|
||||
echo json_encode(
|
||||
[
|
||||
"status" => "ok",
|
||||
"service" => "4get",
|
||||
"server" => [
|
||||
"name" => config::SERVER_NAME,
|
||||
"description" => config::SERVER_LONG_DESCRIPTION,
|
||||
"bot_protection" => config::BOT_PROTECTION,
|
||||
"real_requests" => $real_requests === false ? 0 : $real_requests,
|
||||
"bot_requests" => $bot_requests === false ? 0 : $bot_requests,
|
||||
"api_enabled" => config::API_ENABLED,
|
||||
"alt_addresses" => config::ALT_ADDRESSES,
|
||||
"version" => config::VERSION
|
||||
],
|
||||
"instances" => config::INSTANCES
|
||||
]
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue