19 lines
857 B
PHP
Executable file
19 lines
857 B
PHP
Executable file
<!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.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. Use this service at your own risk.
|
|
</b></p>
|
|
</body>
|
|
</html>
|