$opts->page); ?> <?php return (object) array( // e.g.: fr -> https://google.fr/ "google_domain" => "com", // Results will be in JSON format.</p> <p>The API supports both POST and GET requests.</p>"; die(); } require_once "misc/tools.php"; require_once "misc/search_engine.php"; require_once "locale/localization.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<p>Example API request: <a href="./api.php?q=gentoo&p=2&t=0">./api.php?q=gentoo&p=2&t=0</a></p> <br/> <p>"q" is the search type (0=text, 1=image, 2=video, 3=torrent, 4=tor)</p> <br/> <p>The results are going to be just that. i did but apparently not lol</span></p>", "content_type": "text/x.misskeymarkdown", "text": "@rail_@bark.lgbt i _will_ edit that