Requests Library in Python - Beginner Crash Course

Поділитися
Вставка
  • Опубліковано 4 чер 2024
  • In this video, we do a beginner crash course on the requests library in Python.
    HTTPBin: httpbin.org/
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
    Timestamps:
    (0:00) Intro
    (0:54) HTTP Web Service
    (3:18) Basic Requests
    (5:25) Query Parameters
    (7:32) Status Codes
    (10:13) User-Agent
    (12:30) Images & File Types
    (14:57) Request Timeout
    (18:00) Proxy Servers
    (20:00) Outro
  • Наука та технологія

КОМЕНТАРІ • 41

  • @hyakushiki23
    @hyakushiki23 Рік тому

    Thank you for always providing great explanations. Request is a very common library, so much appreciated.

  • @joeking5211
    @joeking5211 Рік тому +1

    Very well done, am new python by about 3 weeks ago so would like a little more on the 'response' handling from get requests for a real newbee, but this has got me going, in the right direction, thank you, very well explained

  • @fahdalawsi2172
    @fahdalawsi2172 11 місяців тому

    This was direct clean and helpful.
    Thank you!

  • @mrvalvet9856
    @mrvalvet9856 Рік тому +2

    This is an amazingly good channel. Thank you!

  • @StillSean90
    @StillSean90 Рік тому

    Thank you for this great intro into requests

  • @richardboreiko
    @richardboreiko Рік тому +2

    For the webp - open in explorer, copy path, go to chrome, ctrl_o, paste in the path and click ok.

  • @kylecurry6841
    @kylecurry6841 Рік тому +2

    Pagination, and how you would handle this using the Requests library would have been a good highlight, even though I know that delves more on looping through results from an endpoint, but it seems to be a common thing you'll encounter when working with Requests

  • @santiagohernandez6615
    @santiagohernandez6615 Рік тому +2

    Very good and useful tutorial, I really like it!

  • @DanAllenTX
    @DanAllenTX Рік тому

    Great video! Thanks so much for making.

  • @isojama1
    @isojama1 Рік тому +1

    Nice one !! Just wondering, before making videos with all those different libs , do you read the whole documentation or just couple of functions/classes/etc. and explore them in depth?

  • @toniivars6346
    @toniivars6346 Рік тому +5

    Can you make a video covering an async http library like httpx? I think it could be a great video to expand requests to the power of asynchronous code

  • @jakeed09090
    @jakeed09090 3 місяці тому

    Hey this guide was awesome dude. thanks a lot.

  • @praveenkp07
    @praveenkp07 Рік тому +3

    Also create a detailed video on rest APIs and ways to debug and handle them from python along with postman or swagger..

  • @FRANKWHITE1996
    @FRANKWHITE1996 Рік тому +2

    Thanks for sharing ❤

  • @paulthomas1052
    @paulthomas1052 Рік тому +1

    Very useful. Thanks :)

  • @user-xo4rr5en3e
    @user-xo4rr5en3e Рік тому +1

    thanks bro fro this, video is very helpful😊

  • @a9ocalypse
    @a9ocalypse 4 місяці тому

    Cool Vid. I want to-the-point videos with no BS just like this one

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

    great content thanks bro

  • @MusicOverseer
    @MusicOverseer 4 місяці тому

    What do you use for your predictive text?

  • @serychristianrenaud
    @serychristianrenaud Рік тому +1

    thanks

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

    What is the editor u use

  • @Mrbigdraco
    @Mrbigdraco Рік тому +1

    can you make a video of a retail website using requests.

  • @BijouBakson
    @BijouBakson 7 місяців тому

    thank u

  • @daddyddesign
    @daddyddesign 4 місяці тому

    “What is this, a wolf? Deer? “ lol. Great vid tho thanks!

  • @tcgvsocg1458
    @tcgvsocg1458 Рік тому +1

    please do a video on how to create a application in tkinter like proVPN take a vpn on free proxy

  • @niccoloricardi4827
    @niccoloricardi4827 Місяць тому

    "what is this? A wolf? A deer? I don't know
    😆

  • @valadimirX
    @valadimirX Рік тому +1

  • @GK-tv8io
    @GK-tv8io Рік тому

    Bro how do you run the code with the keyboard? xD

  • @maxheinwal5084
    @maxheinwal5084 4 місяці тому +1

    I dont know what im doing wrong, but I always get an error when I try to get it to an json file. I can print the html text but json doesnt work.

    • @ar9ns
      @ar9ns 4 місяці тому +1

      to prevent a json decode error u need to import json then use json.loads heres an example
      import json
      resp = json.loads(response.text)
      and then u would use resp instead of response.json()

  • @user-oi5zb2fk2w
    @user-oi5zb2fk2w 11 місяців тому

    nyc

  • @rahneshin752
    @rahneshin752 4 місяці тому

    ❤❤

  • @lazi16
    @lazi16 12 днів тому

    14:10 a deer? xD

  • @Danielpi
    @Danielpi 10 місяців тому

    I think it was a coyote.

  • @lie-be4277
    @lie-be4277 5 місяців тому

    why is this video 2x in default

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

      This way you can watch the video in 4x if you want 😂

  • @konfushon
    @konfushon Рік тому +2

    First...hi

  • @tcgvsocg1458
    @tcgvsocg1458 Рік тому +1

    i dont really understand why this video stand for? what do you mean? what can be the use of this course?

    • @toniivars6346
      @toniivars6346 Рік тому +1

      Well, nowadays there are lots of cases where you would like to use a library that can make http requests like requests, for example to make calls to an API or to do web scraping

    • @joeking5211
      @joeking5211 Рік тому

      Or to access your own hardware devices on your internal LAN

  • @datG0OSE
    @datG0OSE 17 днів тому

    dude... do you even blink?