summaryrefslogtreecommitdiff
path: root/data/docs/14
blob: 7bc8e32dab7f6528a61456cb73e0899f7b4704ff (plain)
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
:TITLE:Database Dumps
:INC:index

:SUB:Introduction
<p>
 This page lists and documents any provided database dumps. These dumps are
 complimentary to the <a href="/d11">real-time API</a>, and the disclaimers
 that apply to the API apply here, too.
</p>


:SUB:Tags
<p>
 <b>URL:</b> <a href="http://vndb.org/api/tags.json.gz">http://vndb.org/api/tags.json.gz</a><br />
 <b>Updated:</b> Every 24 hours.<br />
 <b>Size:</b> ~150 KiB compressed, ~520 KiB uncompressed.<br />
 This dump includes information about all (approved) VN tags in the JSON
 format. The top-level type is an array of tags, and each tag is represented as
 an object with the following members:
</p>
<table style="margin: 5px 2%; width: 95%">
 <thead><tr>
  <td style="width: 80px">Member</td>
  <td style="width: 90px">Type</td>
  <td style="width: 40px">null</td>
  <td>Description</td>
 </tr></thead>
 <tr class="odd">
  <td>id</td>
  <td>integer</td>
  <td>no</td>
  <td>Tag ID</td>
 </tr>
 <tr>
  <td>name</td>
  <td>string</td>
  <td>no</td>
  <td>Tag name</td>
 </tr>
 <tr class="odd">
  <td>description</td>
  <td>string</td>
  <td>no</td>
  <td>Can include formatting codes as described in <a href="/d9.3">d9.3</a>.</td>
 </tr>
 <tr>
  <td>meta</td>
  <td>bool</td>
  <td>no</td>
  <td>Whether this is a meta tag or not.</td>
 </tr>
 <tr class="odd">
  <td>vns</td>
  <td>integer</td>
  <td>no</td>
  <td>Number of tagged VNs (including child tags)</td>
 </tr>
 <tr>
  <td>cat</td>
  <td>string</td>
  <td>no</td>
  <td>Tag category/classification: "cont" for content, "ero" for sexual stuff, and "tech" for technical details.</td>
 </tr>
 <tr class="odd">
  <td>aliases</td>
  <td>array of strings</td>
  <td>no</td>
  <td>(Possibly empty) list of alternative names.</td>
 </tr>
 <tr>
  <td>parents</td>
  <td>array of integers</td>
  <td>no</td>
  <td>List of parent tags (empty for root tags).</td>
 </tr>
</table>