Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Getting started with Jupyter Notebooks
Nitin Reddy
Nitin Reddy

Posted on

     

Getting started with Jupyter Notebooks

I love to explore around some technology over the weekend.
This time around I tried outJupyter Notebooks usingPython VS Code extension.

So things you need:-

To start off with, I tried to make some makeREST API calls using Jupyter nb in VS code so I picked upGithub Rest Apis.

The file extension for Jupyter notebook is .ipynb

Since some of the Github Apis doesn't require to have authentication to access the data, I selectedGithub users API.

Steps to get the API response

  1. In the first cell, import the requests module inside the notebook
    Alt Text

  2. Declare the constants for endpoint
    Alt Text

  3. Make an API call using "requests" module
    Alt Text

  4. Get back the response and access it via response.text
    Alt Text

You can see how I did this in the below example:-

Alt Text

Hope you enjoyed this article. I will come up with new tech learning articles.

Thanks for reading this.

Happy learning!!

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Seasoned JavaScript Developer who loves to explore other programming languages like Python. A problem solver, tech lover by heart. Loves reading booking, and cooking. 🤩🚀🔬
  • Location
    Pune, India
  • Education
    CS Graduate
  • Work
    Senior Software Engineer at IglooInsure
  • Joined

More fromNitin Reddy

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp