Python Project: Implement a REST API with Flask & Flasgger Libraries!
Вставка
- Опубліковано 15 чер 2024
- We continue where we left on in the last video and implement two REST endpoints for a book review API. We implement a Get request to retrieve all our reviews and implement a Post request to add a new review to our Airtable database. We use the Flasgger library to create interactive documentation for our endpoints. We use ChatGPT to help us write our endpoints Python code. We use Render.com to deploy our API to a publicly accessible URL
Link to first video:
• How to create & deploy...
Source code:
github.com/KeithGalli/python-...
Final source code:
github.com/KeithGalli/python-...
Gitlog command info can be found in this article:
/ mastering-the-terminal...
How to set environment variables (all operating systems:
www.twilio.com/blog/how-to-se...
More information on the Flasgger library:
github.com/flasgger/flasgger
Handling API keys with a Python decorator:
coderwall.com/p/4qickw/requir...
If you enjoyed this video, be sure to give it a like and subscribe :). If you have any questions, let me know in the comments!
Video timeline!
0:00 - Overview
0:41 - Getting started on the Book Review API
2:20 - Set up Airtable as our database & connect to it with Python
10:44 - Implement code to add reviews and view all reviews
31:40 - Adding a POST request to our API
36:40 - Trying out our new endpoints (using documentation & requests library of Python)
41:32 - Commit code to Github & deploy live to Render.com
-------------------------
Follow me on social media!
Instagram | / keithgalli
Twitter | / keithgalli
TikTok | / keithgalli
-------------------------
If you are curious to learn how I make my tutorials, check out this video: • How to Make a High Qua...
Practice your Python Pandas data science skills with problems on StrataScratch!
stratascratch.com/?via=keith
Join the Python Army to get access to perks!
UA-cam - / @keithgalli
Patreon - / keithgalli
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
I was watching one of your videos a few minutes ago that was 4 years old. Then I thought, do you still make videos? Then I found this video you uploaded 2 hours ago.
Now inner satisfaction 😌
Love that! :)
Great to see you back man
Glad to be back! Let's keep up the momentum 💪
Coming back to this later when I have some time...
The video will be here for you!
Nice to see you back!
Good to be back!! More videos very soon :)
lets go gieth
Yeah same about infinite jest
Interesting and well written, but insanely long!
that hat is insane
When will you create an updated numpy pandas matplotlib guides and projects?(btw you look drowsy mate are you taking medicine?)
I think that I would like to create an updated Pandas video at the start of the new year.
I'm not taking any medicine, but been working a lot recently so maybe that's why I look drowsy. I'm doing well overall health-wise.
All good news Keith!
😂😊