123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <title>Search API — searx 0.9.0 documentation</title>
-
- <link rel="stylesheet" href="../_static/style.css" type="text/css" />
- <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
-
- <script type="text/javascript">
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../',
- VERSION: '0.9.0',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="../_static/jquery.js"></script>
- <script type="text/javascript" src="../_static/underscore.js"></script>
- <script type="text/javascript" src="../_static/doctools.js"></script>
- <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
- <link rel="next" title="Plugins" href="plugins.html" />
- <link rel="prev" title="Engine overview" href="engine_overview.html" />
-
-
- <link media="only screen and (max-device-width: 480px)" href="../_static/small_flask.css" type= "text/css" rel="stylesheet" />
- <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
- </head>
- <body role="document">
-
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="search-api">
- <h1>Search API<a class="headerlink" href="#search-api" title="Permalink to this headline">¶</a></h1>
- <p>The search supports both <code class="docutils literal"><span class="pre">GET</span></code> and <code class="docutils literal"><span class="pre">POST</span></code>.</p>
- <p>Furthermore, two enpoints <code class="docutils literal"><span class="pre">/</span></code> and <code class="docutils literal"><span class="pre">/search</span></code> are available for querying.</p>
- <div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">GET</span> <span class="o">/</span>
- </pre></div>
- </div>
- <div class="code sh highlight-default"><div class="highlight"><pre><span></span><span class="n">GET</span> <span class="o">/</span><span class="n">search</span>
- </pre></div>
- </div>
- <div class="section" id="parameters">
- <h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
- <table border="1" class="docutils">
- <colgroup>
- <col width="12%" />
- <col width="68%" />
- <col width="20%" />
- </colgroup>
- <thead valign="bottom">
- <tr class="row-odd"><th class="head">Name</th>
- <th class="head">Description</th>
- <th class="head"> </th>
- </tr>
- </thead>
- <tbody valign="top">
- <tr class="row-even"><td><code class="docutils literal"><span class="pre">q</span></code></td>
- <td>The search query, see <a class="reference internal" href="../user/search_syntax.html"><span class="doc">Search syntax</span></a></td>
- <td>required</td>
- </tr>
- <tr class="row-odd"><td><code class="docutils literal"><span class="pre">categories</span></code></td>
- <td>Comma separated list, specifies the active search categories</td>
- <td>optional</td>
- </tr>
- <tr class="row-even"><td><code class="docutils literal"><span class="pre">engines</span></code></td>
- <td>Comma separated list, specifies the active search engines</td>
- <td>optional</td>
- </tr>
- <tr class="row-odd"><td><code class="docutils literal"><span class="pre">lang</span></code></td>
- <td>Code of the language</td>
- <td>optional (default: <code class="docutils literal"><span class="pre">all</span></code>)</td>
- </tr>
- <tr class="row-even"><td><code class="docutils literal"><span class="pre">pageno</span></code></td>
- <td>Search page number</td>
- <td>optional (default: <code class="docutils literal"><span class="pre">1</span></code>)</td>
- </tr>
- <tr class="row-odd"><td><code class="docutils literal"><span class="pre">time_range</span></code></td>
- <td>Time range of search</td>
- <td>optional</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-
-
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper"><div class="sidebar_container body">
- <h1>Searx</h1>
- <ul>
- <li><a href="../index.html">Home</a></li>
- <li><a href="https://github.com/asciimoo/searx">Source</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
- </ul>
- <hr />
- <ul>
- <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
- <li><a href="https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software">Flattr</a></li>
- <li><a href="https://gratipay.com/searx">Gratipay</a></li>
- </ul>
- </div>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="footer">
- © Copyright 2015-2016, Adam Tauber.
- </div>
- </body>
- </html>
|