From 42d95bdc14a887c37ec1f849d0f8224736816f11 Mon Sep 17 00:00:00 2001
From: Yorhel
This document describes the public API of VNDB and is intended to be read by
- programmers. The API allows programs and websites to access (parts of) the VNDB
- database without actually visiting a page on the website.
+ programmers. This API allows programs and websites to access (parts of) the
+ VNDB database without actually visiting the website.
@@ -45,8 +40,7 @@
server resources and prevent abuse of this service.
Some commands accept a filter string as argument. This argument is formatted
similar to boolean expressions in most programming languages. A filter consists
- of one or more expressions, separated by the boolean operators "and" and
+ of one or more expressions, separated by the boolean operators "and" or
"or" (lowercase). Each filter expression can be surrounded by parentheses to
indicate precedence, the filter argument itself must be surrounded by parentheses.
@@ -205,7 +200,7 @@ however still required.
title ~ "osananajimi"
)
-
More complex things are also possible:
+More complex filters are also possible:
((platforms = ["win", "ps2"] or languages = "ja") and released > "2009-01-10")@@ -238,10 +233,10 @@ however still required.
- This command is used to fetch data from the database. It accepts 3 arguments: + This command is used to fetch data from the database. It accepts 4 arguments: the type of data to fetch (e.g. visual novels or producers), what part of that data to fetch (e.g. only the VN titles, or the descriptions and relations as - well), and lastly a filter expression. + well), a filter expression, and lastly some options.
get type flags filters options -- cgit v1.2.3