Update json.html.go
This commit is contained in:
parent
2db5bcfa5d
commit
5e9b6302b3
1 changed files with 6 additions and 7 deletions
|
@ -7,14 +7,13 @@
|
|||
</head>
|
||||
<body>
|
||||
<h1>Using JSON API</h1>
|
||||
<p>Use https://domain/json/ to get a JSON output of search results.<br><br>
|
||||
Example: <a href="https://domain/json/?q=test">https://domain/json/?q=test</a> outputs results for the query 'test'.<br><br>
|
||||
Append the parameter &o=NUM to get the next page of results.<br>
|
||||
To determine the value of NUM, look for the presence of <b>NextOffset</b> at the end of the JSON data.<br><br>
|
||||
Example: <a href="https://domain/json/?q=test&o=12">https://domain/json/?q=test&o=12</a><br><br>
|
||||
<p>Use https://domain.com/json/ to get a JSON output of search results.<br><br>
|
||||
Example: <a href="https://domain.com/json/?q=test">https://domain.com/json/?q=test</a> outputs results for the query 'test'.<br><br>
|
||||
Append the parameter &p=NUM to get the next page of results.<br><br>
|
||||
Example: <a href="https://domain.com/json/?q=test&p=2">https://domain.com/json/?q=test&p=2</a><br><br>
|
||||
Append the parameter &nsfw to include results that are marked as not safe for work.
|
||||
<br><br><b>Terms of Use:
|
||||
<br>1. Set terms here.
|
||||
</b></p>
|
||||
<br>1. Use this service at your own risk.
|
||||
</b></p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue