hackersandslackers/flask-blueprint-tutorial

Doesn't even start

arczello opened this issue · 2 comments

Reports "../flask-blueprint-tutorial-master/flask_blueprint_tutorial/api.py", line 18, in fetch_products
products = req.json()["products"]
KeyError: 'products'

What sense it makes to publish something without basic testing?

So, you probably have not even grabbed the API key that is mentioned in the tutorial. If you do not read the tutorial in its entirety you can be sure that things will not work correctly. I have worked with flask/python for years, and I can tell you that this is the absolute BEST flask-blueprint tutorial there is on the internet. It's clean, simple, elegant and uses all best practices and methods (IMHO) when building out an application that utilises these technologies. Cheers.

hiven commented

Could you use faker or similar instead of needing people to sign up for a key for bestbuy, or even use an open API instead?

Really like your tutorial but also finding the bestbuy key could be a little off putting for some following along.

https://mixedanalytics.com/blog/list-actually-free-open-no-auth-needed-apis/

Just a thought