I'm currently accessing Danbooru completely through its APIs (to extend the functionality of the subset of features I use, and to standardize UI for several boorus).
However I have been unable to find much information about the new API. I have found that the /X/index.xml are now /Xs.xml, however I still don't know what parameters to pass them nor how /X/Y.xml are accessed. (I don't really use those anyway though.)
I have been unable to figure out how to look up a tag. /tags.xml?name=X doesn't work and /tags.xml?search=X errors (HTTP error 500).
I'm also a bit confused with the data. One tag has a name of "parent:712273", a post-count of 0 yet still have related tags. Another tag has a name of "tag:gypsy". (I could not find any such tags in my old copy of Danboorus tags either.)
/related_tag.json also gives me a error 500.
What became of the post count in post(s).xml? Not being able to know the about of posts is quite inconvenient for me. First of all I wouldn't be able to show a correct amount of pages, but more importantly it is one of the few parameters I can use to control my partial cache.
(The post count is the main reason I have been using the XML versions.)
On a positive note, the fact that the new API appears to have a way of showing which pools a post is in makes me quite excited, as it was the only thing I missed. Why is they prefixed with "pool:" (and "fav:" in fav-string) though? Can they have different prefixes in certain situations?
I don't quite understand why there are tag-counts for the various tag types. If the tag-string was ordered by tag type instead of just alphabetically you could use it to figure out which tags where which, but right now I don't see the point. (Also fav-count seems always to be 0, no matter how long fav-string is?)
EDIT: Also how are the image links? I imagine it is something like this:
But how do I know if a sample is available?
Updated by ghostrigger