Some love for the API

Posted in

#201 by kurothing
2018-05-12 at 12:46
It appears when you log in via the API, the username must be transformed to lowercase before being sent...

Can this be confirmed? And if so, could we possibly get something server side to do that transformation for us in the API so that issues like this don't occur.
#202 by yorhel
2018-05-12 at 13:10
Ah, that's a bug. I wasn't aware that the web login form accepted uppercase characters in the username, but it does, and obviously the API should be consistent with that.

#203 by kurothing
2018-05-13 at 23:56
On the API Documentation page, it states....

Design overview
TCP-based, all communication between the client and the server is done using one TCP connection. This connection stays alive until it is explicitely closed by either the client or the server.

Does this imply that the connection to Vndb should remain opened for as long as possible, or should it be closed as soon as it's finished being used? Or does it not matter and it's up to developer preference?
#204 by yorhel
2018-05-14 at 04:56
Does this imply that the connection to Vndb should remain opened for as long as possible,
Whatever makes the most sense for your application.
#205 by micah686
2018-06-03 at 19:11
With work being done on a site redesign (, will that also include any changes/rework of the API at all?
#206 by yorhel
2018-06-03 at 19:16
The API and the site share very little code, so I have nothing planned in that regard at the moment. Do you want a reworked API or were you just asking out of curiosity?
#207 by micah686
2018-06-08 at 23:40
A little bit of both. There are a few sections of the API that may need some work. Also, even though I know you said that the API and the site share very little code, I figured right after a site redesign like what is planned would be a good time as any to rework the API.
#208 by mooncake4132
2018-06-13 at 04:54
It seems like the "instance of" information for the characters is currently unavailable in the APIs. Is there a plan to make that happen?
#209 by yorhel
2018-06-13 at 16:07
@208: Added.
#210 by mooncake4132
2018-06-13 at 16:42
Wow. Thank you. Didn't expect it to be added that quickly.


You must be logged in to reply to this thread.