fake-name / wlnupdates

It's a WEBSITE! Whooooo!
http://wlnupdates.com
30 stars 6 forks source link

Public Facing API #3

Closed nlvw closed 7 years ago

nlvw commented 8 years ago

is there any chance of you implementing a public facing api for database calls? I'm working on a Android app to track and read web/light novels and it would be great to be able to have Sources like manga readers have available.

fake-name commented 5 years ago

It's not your fault I'm a lazy-butt and didn't set up a proper e-mail system.

Besides, login being broken in general is kind of a issue!

Emmanuella-Aninye commented 5 years ago

@fake-name Have you considered using outside auth?

fake-name commented 5 years ago

Not really? I have to admit I haven't spent much time thinking about auth stuff in general. The whole site was initally just a project for my own use, initially.

Emmanuella-Aninye commented 5 years ago

@fake-name Fair enough. Well no worries. I'll figure out a way

fake-name commented 5 years ago

I should have login working in a minute. I'm just switching to a different mail-host that's less touchy.

Also, I reduced the rate limiting to max 1 request/second (it was once request ever six seconds, previously).

As usual, authenticated users have no rate limits at all.

Emmanuella-Aninye commented 5 years ago

@fake-name Sweet! Added sleep on my end so I shouldn't be hitting the end point at a high per sec rate

Emmanuella-Aninye commented 5 years ago

@fake-name authentication can't be done api side yeah?

fake-name commented 5 years ago

Huh, that's an interesting idea!

Emmanuella-Aninye commented 5 years ago

🤔🤔

fake-name commented 5 years ago

Ok, try creating an account now.

I also dropped all the unverified users from the database, so you should be able to reuse any usernames that got previously stuck.

Emmanuella-Aninye commented 5 years ago

Got the account thanks

Emmanuella-Aninye commented 5 years ago

@fake-name Still getting limited api calls even though I'm logged in. Is there a way to indicate I'm logged in to it?