Python REST API Tutorial - Building a Flask REST API

3 years ago
71

This python REST API tutorial will teach you how to build a python flask REST API. We will start by building a basic REST API then integrating that API with a flask SQL-Alchemy database. At the end of this video you will have a fully functioning REST API with python and flask.

📄 Requirements.txt Download: https://techwithtim.net/wp-content/uploads/2020/07/requirements.txt
📁 Code Download: https://techwithtim.net/wp-content/uploads/2020/07/Flask-Rest-API-Tutorial.zip
💻 Code via Website: https://techwithtim.net/flask-rest-api/

How to fix pip: https://www.youtube.com/watch?v=AdUZArA-kZw
Flask SQL Alchemy Basics: https://flask-sqlalchemy.palletsprojects.com/en/2.x/queries/

⭐️ Timestamps ⭐️
00:00:00 - Introduction
00:02:43 - Installing Dependencies
00:06:20 - Building a Minimal Hello World API
00:08:50 - Adding Resources
00:11:24 - Sending Requests
00:13:33 - Understanding JSON
00:15:05 - Testing The Hello World API
00:16:40 - Handling Post Requests
00:17:33 - Passing Arguments
00:20:05 - Storing Data in Memory
00:26:49 - Request Argument Parser
00:33:21 - Sending Status Code
00:36:18 - Validating Requests
00:39:19 - Handling Delete Requests
00:45:20 - Installing Database Dependencies
00:46:31 - Database Configuration
00:48:38 - Creating a Model
00:53:10 - Querying Database
00:55:00 - Serializing Objects
00:58:05 - Adding Entries to the Database
1:05:06 - Handling Update Request

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
🔊 Subscribe to my second channel for weekly podcasts! https://www.youtube.com/channel/UCSATlCAUi7R0Ik-wsZb2gOA

💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python
👕 Merchandise: https://teespring.com/stores/tech-with-tim-merch-shop

🔗 Social Medias 🔗
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/pr2k55t
📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
🌎 Website: https://techwithtim.net
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim

🎬 My YouTube Gear 🎬
🎥 Main Camera (EOS Canon 90D): https://amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): https://amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): https://amzn.to/2Yuol5r
🕹 Tripod: https://amzn.to/3hpSprv
🎤 Main Microphone (Rode VideoMic Pro): https://amzn.to/3d0KKMG
🎤 Secondary Microphone (Synco Wireless Lapel System): https://amzn.to/3e07Swl
🎤 Third Microphone (Blue Yeti USB Mic): https://amzn.to/3hoD625
☀️ Lights: https://amzn.to/2ApeiXr

⌨ Keyboard (Daskeyboard 4Q): https://amzn.to/2YpN5vm
🖱 Mouse (Steelseries Rival 300): https://amzn.to/3cVTqnD
📸 Webcam (Logitech 1080p Pro): https://amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): https://amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): https://amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): https://amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): https://amzn.to/30Dtafi
💻 Main Monitor (LG 4K): https://amzn.to/37ybtiH
💻 Secondary Monitor (Thinkvision 1080p): https://amzn.to/2AyHR8H

🎤 XLR Microphone (Rode NT1): Not available
🎙 Mic Boom Arm (Rode PSA 1): https://amzn.to/30EZw9m
🎚 Audio Interface (Behringer 4 Channel): https://amzn.to/3fqm4z3
💾 Recorder (Zoom H6): https://amzn.to/2UIihVJ

◾ 💸 Donations 💸 ◾
💵 One-Time Donations: https://www.paypal.com/donate/?token=m_JfrPK7DsK4PLk0CxNnv4VPutjqSldorAmgQIQnMozUwwQw93vdul-yhU06IwAuig15uG&country.x=CA&locale.x=
💰 Patreon: https://www.patreon.com/techwithtim
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
- Tech With Tim
- Python REST API
- REST API Python
- Flask REST API
- Flask Python REST API
- REST API Tutorial

⭐ Hashtags ⭐
#python #restapi #flask

Loading comments...