Gelbooru

Notice: Visit your account options to access your Patreon rewards for June. Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Now Viewing: Api documentation for tags?

Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

bilt Group: Member - Total Posts: 4
user_avatar
Api documentation for tags?
Posted on: 04/28/17 11:22PM
I'm trying to write a simple application and want to get tag info for posts but it doesnt seem that the api documentation on the website covers this.
I know there is some kind of api stuff for it because you can use like
/index.php?page=dapi&s=tag&q=index&name=tag_name_here
And that works as far as i can tell but i dont know how to get that for all the tags on a post;

would be preferable if could get all tags for multiple posts in one call but id settle for just a single post at a time.

To be clear im not talking about getting tags of an image thats easy enough. but those are just strings.
I want the info for each individual tag so i can color them properly etc.

Jerl Group: Administrator's Pet - Total Posts: 4150
user_avatar
Posted on: 04/28/17 11:43PM
/index.php?page=dapi&s=tag&q=index&names=tag_name_here+second_tag_name_here+third_tag_name_here...

bilt Group: Member - Total Posts: 4
user_avatar
Posted on: 04/29/17 12:01AM
thanks for the quick reply!
i guess that makes sense as well.

Maybe we can get all of the tag api documented on the api doc page?

Jerl Group: Administrator's Pet - Total Posts: 4150
user_avatar
Posted on: 04/29/17 12:09AM
There's a lot of new stuff that should go on the API doc page.

bilt Group: Member - Total Posts: 4
user_avatar
Posted on: 04/29/17 12:21AM
Is it ever going to get there or..?

Jerl Group: Administrator's Pet - Total Posts: 4150
user_avatar
Posted on: 04/29/17 12:25AM
That's up to lozer.

bilt Group: Member - Total Posts: 4
user_avatar
Posted on: 04/29/17 12:28AM
how can i yell at lozer to do it

add_replyAdd Reply

1