-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.htm
26 lines (22 loc) · 1.08 KB
/
dev.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML>
<html>
<head>
<title>Dev with Paprika</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/icon/touch-icon.png">
<link rel="stylesheet" type="text/css" href="paprika_style.css" />
<style type="text/css">
</style>
</head>
<body>
<h1>Develop with Paprika</h1>
<h2>API</h2>
<p>Send requests using GET to <code>http://paprika.me.uk/api.php</code>. The parameter is <code>q</code>.</p>
<p><strong>All together now:</strong> <code>http://paprika.me.uk/api.php?q=What a [good trait] [animal]</code></p>
<p>That's all there is to it.</p>
<h2>Privatised grammar</h2>
<p>If you want to program your own grammar, you can fork <a href="http://github.com/stegriff/paprika">Paprika on GitHub</a> and host it on a PHP server, or for £1 (GBP) per month, I will host an instance of Paprika for you. If you'd like to talk about either option, I'm always open to email! ste at paprika me uk</p>
</body>
</html>