From c7ff7086534cd9de7ce4043eb10c7161401c1b96 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sat, 14 Nov 2009 12:57:14 +0100 Subject: d11: Finalized API documentation --- data/docs/11 | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) (limited to 'data/docs') diff --git a/data/docs/11 b/data/docs/11 index f1c84dce..199935fd 100644 --- a/data/docs/11 +++ b/data/docs/11 @@ -1,10 +1,4 @@ :TITLE:Public Database API - -
-

IN DEVELOPMENT

-

This API is currently in development, pretty much everything is subject to change without notice.

-
- :INC:index :SUB:Introduction @@ -64,10 +58,10 @@ server resources and prevent abuse of this service.


-Test version: +Connection info:
-
Host (beta)
beta.vndb.org
-
Port
19534 ('VN')
+
Host
api.vndb.org (primary), beta.vndb.org (available for testing)
+
Port (tcp)
19534 ('VN')

@@ -98,6 +92,35 @@ server resources and prevent abuse of this service.

+
+Implementation tips +

Like the disclaimer, these notes should be obvious, but it can't hurt to state them anyway.

+ + + :SUB:Request/response syntax

@@ -426,8 +449,9 @@ however still required.
= !=
= != > >= < <= Note that matching on partial dates (released = "2009") doesn't do what - you want, use ranges instead, e.g. (released > "2008" and released <= "2009"). + you want, use ranges instead, e.g. (released > "2008" and released <= "2009"). + platforms null
string
array of strings @@ -449,6 +473,7 @@ however still required.
novel and its releases. Note that the algorithm of this search may change and that it can use a different algorithm than the search function on the website. + :SUBSUB:get release @@ -851,7 +876,7 @@ however still required.

missing
A JSON object argument is missing a required member. The name of which is given in the additional "field" member.
badarg
A JSON value is of the wrong type or in the wrong format. The name of the incorrect field is given in a "field" member.
needlogin
Need to be logged in to issue this command.
-
throttled
+
throttled
You have used too many server resources within a short time, and need to wait a bit before sending the next command. The type of throttle is given in the "type" member, and the "minwait" and "fullwait" members tell you how long you -- cgit v1.2.3