2015-11-17 23:38:25 +01:00
< !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" / >
2016-07-09 21:55:17 +02:00
< title > Search API — searx 0.9.0 documentation< / title >
2015-11-17 23:38:25 +01:00
< 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: '../',
2016-07-09 21:55:17 +02:00
VERSION: '0.9.0',
2015-11-17 23:38:25 +01:00
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 >
2016-07-09 21:55:17 +02:00
< link rel = "top" title = "searx 0.9.0 documentation" href = "../index.html" / >
2015-11-17 23:38:25 +01:00
< link rel = "next" title = "Plugins" href = "plugins.html" / >
2016-01-21 16:25:40 +01:00
< link rel = "prev" title = "Engine overview" href = "engine_overview.html" / >
2015-11-17 23:38:25 +01:00
< 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 >
2016-09-06 18:14:11 +02:00
< 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 >
2016-07-09 22:32:57 +02:00
< 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 >
2016-09-06 18:14:11 +02:00
< div class = "code sh highlight-default" > < div class = "highlight" > < pre > < span > < / span > < span class = "n" > GET< / span > < span class = "o" > /< / span >
2016-07-09 22:32:57 +02:00
< / pre > < / div >
< / div >
2016-09-06 18:14:11 +02:00
< 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 >
2016-07-09 22:32:57 +02:00
< / pre > < / div >
2015-11-17 23:38:25 +01:00
< / 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 >
2016-09-10 15:12:47 +02:00
< col width = "11%" / >
< col width = "60%" / >
< col width = "30%" / >
2015-11-17 23:38:25 +01:00
< / 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 >
2016-07-09 21:55:17 +02:00
< td > The search query, see < a class = "reference internal" href = "../user/search_syntax.html" > < span class = "doc" > Search syntax< / span > < / a > < / td >
2015-11-17 23:38:25 +01:00
< 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 >
2016-07-09 22:32:57 +02:00
< 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 >
2015-11-17 23:38:25 +01:00
< td > Search page number< / td >
< td > optional (default: < code class = "docutils literal" > < span class = "pre" > 1< / span > < / code > )< / td >
< / tr >
2016-09-06 18:14:11 +02:00
< tr class = "row-odd" > < td > < code class = "docutils literal" > < span class = "pre" > time_range< / span > < / code > < / td >
< td > Time range of search< / td >
2016-09-10 15:12:47 +02:00
< td > optional (possible: < code class = "docutils literal" > < span class = "pre" > day< / span > < / code > , < code class = "docutils literal" > < span class = "pre" > month< / span > < / code > , < code class = "docutils literal" > < span class = "pre" > year< / span > < / code > )< / td >
2016-09-06 18:14:11 +02:00
< / tr >
2015-11-17 23:38:25 +01:00
< / 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" >
2016-07-09 21:55:17 +02:00
© Copyright 2015-2016, Adam Tauber.
2015-11-17 23:38:25 +01:00
< / div >
< / body >
< / html >