From 048dc43f11cd39220cc1a583b78702ac5cf5e72f Mon Sep 17 00:00:00 2001 From: Edho Arief Date: Tue, 19 Jun 2012 08:06:33 -0700 Subject: [PATCH] Updated API documentation to be closer to current Danbooru API. --HG-- branch : 2.3-stable --- app/views/help/api.html.erb | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/app/views/help/api.html.erb b/app/views/help/api.html.erb index 42b17d4c..b96a57bb 100644 --- a/app/views/help/api.html.erb +++ b/app/views/help/api.html.erb @@ -1,8 +1,8 @@
-

Help: API v1.13.0

+

Help: API 1.13.0+update.2

-

Danbooru offers a simple API to make scripting easy. All you need is a way to GET and POST to URLs. The ability to parse XML or JSON responses is nice, but not critical. The simplicity of the API means you can write scripts using JavaScript, Perl, Python, Ruby, even shell languages like bash or tcsh.

+

Moebooru offers API which is mostly compatible with Danbooru API (version 1.13.0) to make scripting easy. All you need is a way to GET and POST to URLs. The ability to parse XML or JSON responses is nice, but not critical. The simplicity of the API means you can write scripts using JavaScript, Perl, Python, Ruby, even shell languages like bash or tcsh.

Change Log | Posts | Tags | Artists | Comments | Wiki | Notes | Users | Forum | Pools

@@ -542,6 +542,22 @@
  • post_id The post to remove.
  • + + + + + +
    + +

    Favorites

    + +
    +

    List Users

    +

    The base URL is /favorite/list_users.json. There is no XML API for this action.

    +
      +
    • id The post id.
    • +
    +
    @@ -550,7 +566,11 @@

    Change Log

    -

    1.15.0

    +

    1.13.0+update.2

    + +

    1.13.0+update.1