Category

API

7-Day Challenge

Land Your First Data Science Job

A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.

Build portfolios that hiring managers love
Master the Python and SQL essentials to be industry-ready
Practice with real interview questions from tech companies
Access to the $100k/y Data Scientist Cheatsheet

Join thousands of developers who transformed their careers through our challenge. Unsubscribe anytime.

API
1 min read
How to use API in Python
Use the requests library in Python to send HTTP requests to an API, process the response, e.g. check status code, parse JSON data. Example: response = requests.get(url); data = response.json() if response.status_code == 200 else print("Request failed").
3/21/2023Read More
Advanced
1 min read
How to make your own API in Python
Build an API in Python using a web framework such as Flask or Django by defining endpoints, writing functions for handling requests, mapping functions to endpoints, starting the server and testing the API by sending requests to endpoints.
3/16/2023Read More
Flask
1 min read
How to use Flask in Python
Use Flask in Python for building web applications by installing Flask, importing the Flask module, creating an instance of the Flask class, defining routes and the corresponding request handlers, and running the application using the run() method.
3/15/2023Read More
Websockets
1 min read
How to work with WebSockets in Python
Learn how to create a basic server and client that communicates using websockets in Python.
3/2/2023Read More
ChatGPT
5 min read
How to use ChatGPT in Python using requests
"Learn how to use OpenAI's ChatGPT with Python's requests library. Make an HTTP POST request with JSON data to generate text completions using the model. Get started by setting up an API Key, headers and data. Check the response status code to ensure success and print the generated text.
2/3/2023Read More
Fundamentals
1 min read
How to check what is the current working directory with os in Python
How to check what is the current working directory with os in Python. Learn how to check what is the directory we are running the script from.
12/13/2021Read More
Fundamentals
1 min read
How to create a folder if it doesn't exist in Python
Learn how to create a folder if it doesn't exist in Python.
12/3/2021Read More
API
1 min read
How to check if Facebook is down with Python
How to check if Facebook is down with Python. The simplest method using the Requests library.
10/4/2021Read More
API
1 min read
How to make a POST request in Python
How to make a POST request in Python using the requests library. The easiest way to send data to the web. Using requests the task takes only a few lines of codes.
8/23/2021Read More
Free Newsletter

Master Data Science in Days, Not Months 🚀

Skip the theoretical rabbit holes. Get practical data science skills delivered in bite-sized lessons – Approach used by real data scientist. Not bookworms. 📚

Weekly simple and practical lessons
Access to ready to use code examples
Skip the math, focus on results
Learn while drinking your coffee

By subscribing, you agree to receive our newsletter. You can unsubscribe at any time.