1234567891011121314151617181920 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>JSON API</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
- <meta name="description" content="Using the JSON API"/>
- </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>
- 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>
- </body>
- </html>
|