-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (117 loc) · 3.44 KB
/
index.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<title>JP-CONJU</title>
<meta name='description' content='Microservice utility to conjugate Japanese verbs'/>
<link rel='stylesheet' href='https://unpkg.com/svbstrate'/>
<style>
table {
font-size: 8px;
}
.wikitable {
background-color: #f8f9fa;
color: #222;
margin: 1em 0;
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: #eaecf0;
text-align: center;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
</style>
</head>
<body>
<main class='f aic jcc px1' style='color: #333'>
<div class='py1 mxa x' style='max-width: 600px'>
<h1 class='h2'>jp-conju.now.sh</h1>
<p class='pb075'>Microservice utility to conjugate Japanese verbs</p>
<div class='pb1'>
<h4>usage</h4>
<pre class='p1' style='max-width: 100%;overflow: auto;background: #333;color: #fff;'>
<code>
const verb = '建てる'
const verbtype = 'v1'
fetch(`https://jp-conju.now.sh/api/conju?verb=${verb}&verbtype=${verbtype}`)
</code>
</pre>
</div>
<div class='pb1'>
<h4>endpoints</h4>
<a href='/api/conju?verb=建てる&verbtype=v1'><pre>https://jp-conju.now.sh/api/conju?verb={verb}&verbtype={verbtype}</pre></a>
<a href='/api/deconju?verb=建てた'><pre>https://jp-conju.now.sh/api/deconju?verb={verb}</pre></a>
</div>
<div class='pb1'>
<h5>verbtypes</h5>
<table class="wikitable collapsible mw-collapsible mw-made-collapsible">
<tbody>
<tr>
<th>Abbreviation
</th>
<th>Explanation
</th></tr>
<tr>
<td>v1
</td>
<td>Ichidan verb
</td></tr>
<tr>
<td>v5b
</td>
<td>Godan verb with 'bu' ending
</td></tr>
<tr>
<td>v5g
</td>
<td>Godan verb with 'gu' ending
</td></tr>
<tr>
<td>v5k
</td>
<td>Godan verb with 'ku' ending
</td></tr>
<tr>
<td>v5m
</td>
<td>Godan verb with 'mu' ending
</td></tr>
<tr>
<td>v5n
</td>
<td>Godan verb with 'nu' ending
</td></tr>
<tr>
<td>v5r
</td>
<td>Godan verb with 'ru' ending
</td></tr>
<tr>
<td>v5s
</td>
<td>Godan verb with 'su' ending
</td></tr>
<tr>
<td>v5t
</td>
<td>Godan verb with 'tsu' ending
</td></tr>
<tr>
<td>v5u
</td>
<td>Godan verb with 'u' ending
</td></tr>
</tbody>
</table>
</div>
<div class='pb1'>
<h6>credits</h6>
<small><a href='https://github.com/Pomax/node-jp-conjugations'>Pomax</a></small>
</div>
</div>
</main>
</body>
</html>