Close
Some question about API
I Want to make a app for yande.re on WindowsPhone8.
You can browse the posts,comments,pools and forum by the app.
All basic function the app will have.Like download post,creat post.
The most exciting is that app can use your favorite posts beautify your mobile phone,like Tiles and Lockscreen.
Also the app will be free and no ADs.

This is a Test chart
http://higancdn.duapp.com/usr/uploads/2014/06/19310257.png

But now I have some question about API:
01.How can I get post's information by post id?
In the API documentation,I only can get post's information by page and limit.This is not convenient when you want to get post,but you only kown post id.Random post also is not convenient.

02.How can I get a post's comments by post id?
Ohh...No...I only can get comment by comment id.

03.How can I get user's avatar?
Umm...I get a way by observing the law.
avatar = https://yande.re/data/avatars/[User ID].jpg

04.How to use API Key?
https://yande.re/settings/api give me a Key,but in the API documentation,I need not the Key...
Try https://yande.re/post.xml?tags=id:<ID> for first question.

I don't even know when we added api key in settings, is something gonna change? @edogawaconan
fireattack said:
Try https://yande.re/post.xml?tags=id:<ID> for first question.

I don't even know when we added api key in settings, is something gonna change? @edogawaconan
Ok...Thanks for your answer.
I get a solution for first question.

The second problem is also very important.
There are any solution?

.................................................................
Umm...
https://yande.re/post.xml?tags=id:<ID>
Is only Parameters "id" can be used?
I try "author","creator_id" ,I get nothing but "[]"...

Ohh... https://yande.re/post.xml?tags=md5:<MD5> can work...
higan said:
Ok...Thanks for your answer.
I get a solution for first question.

The second problem is also very important.
There are any solution?

.................................................................
Umm...
https://yande.re/post.xml?tags=id:<ID>
Is only Parameters "id" can be used?
I try "author","creator_id" ,I get nothing but "[]"...

Ohh... https://yande.re/post.xml?tags=md5:<MD5> can work...
use user:<uploader name>

It's actually just metatag. Check cheat sheet extended.
fireattack said:
use user:<uploader name>

It's actually just metatag. Check cheat sheet extended.
Umm...Thanks...This is very useful.

And...About login...
I try to create a comment with
https://yande.re/comment/create.json?comment[anonymous]=0&comment[post_id]=<Post ID>&comment[body]=<Body>&login=<User>&password_hash=<Password HASH>
but I get 404.

I think my HashCode is error.
I try Hash "<Password>" and "choujin-steiner-<Password>-".
All give me 404...