I love to explore around some technology over the weekend. This time around I tried out Jupyter Notebooks using [Python VS Code extension] (https://marketplace.visualstudio.com/items?itemName=ms-python.python).
So things you need:-
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 selected Github users API.
Steps to get the API response
In the first cell, import the requests module inside the notebook
Declare the constants for endpoint
- Make an API call using "requests" module
- Get back the response and access it via response.text
You can see how I did this in the below example:-
Hope you enjoyed this article. I will come up with new tech learning articles.
Thanks for reading this.