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.

КОМЕНТАРІ • 16

  • @mdkhairulashik6796
    @mdkhairulashik6796 6 місяців тому +10

    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 😌

  • @Intellectualmind4
    @Intellectualmind4 6 місяців тому +3

    Great to see you back man

    • @KeithGalli
      @KeithGalli  6 місяців тому +1

      Glad to be back! Let's keep up the momentum 💪

  • @MsACC2011
    @MsACC2011 6 місяців тому +1

    Coming back to this later when I have some time...

    • @KeithGalli
      @KeithGalli  6 місяців тому

      The video will be here for you!

  • @bombasticiti
    @bombasticiti 5 місяців тому

    Nice to see you back!

    • @KeithGalli
      @KeithGalli  5 місяців тому

      Good to be back!! More videos very soon :)

  • @sebastianalvarez1537
    @sebastianalvarez1537 6 місяців тому

    lets go gieth

  • @chrstfer2452
    @chrstfer2452 6 місяців тому +1

    Yeah same about infinite jest

    • @KeithGalli
      @KeithGalli  6 місяців тому

      Interesting and well written, but insanely long!

  • @sebastianalvarez1537
    @sebastianalvarez1537 6 місяців тому

    that hat is insane

  • @kerimalpalt
    @kerimalpalt 6 місяців тому +2

    When will you create an updated numpy pandas matplotlib guides and projects?(btw you look drowsy mate are you taking medicine?)

    • @KeithGalli
      @KeithGalli  6 місяців тому +1

      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.

    • @kerimalpalt
      @kerimalpalt 6 місяців тому

      All good news Keith!

  • @TheGmr140
    @TheGmr140 5 місяців тому

    😂😊