Made Some Changes to the Website in Forever
by Cory on August 21, 2018 11:01 PM
I switched the API I used to query books from Amazon to Google! So it turns out the amazon product api access you get is revoked after like 6 months if you don't get a certain number of referral links, which is fucking bullshit. Basically this means that my book search function would randomly break like every so often and I'd have to open a new account and change the username in my site files.
I finally decided to do something about it and found the Google Books API. This stuff is free (or at least it is for now) and it does exactly what I need. The best part is that it's so simple because I only need a really basic query so I don't even have to authenticate with them. It was a lot easier than I thought it would be and I didn't even need any special python packages. I highly recommend it.
The only difference is that when you click on a book, it'll bring you to google books instead of amazon, which I guess isn't really as good, but not too inconvenient.
Suck it amazon.
This Thought is part of Corys Blog
Welcome to the fucked up mind of Cory Parsnipson