Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons


Login

Start interactive tutorial

← Back to Projects

Interacting with an API using Python

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs

📝 Instructions
  • Create a Spotify developer application using the Spotify Developer Portal.
  • Connect with the Spotify API.
  • Retrieve and download data from the Spotify API.
  • Create a Python Pandas dataframe for easier manipulation of the data.
  • Save the data to an SQL database.

🌱 How to start this project

Follow the instructions below:

  1. Create a new repository by forking the Git project or by clicking here.
  2. Open the newly created repository in Codespace using the Codespace button extension.
  3. Once the Codespace VSCode has finished opening, start your project by following the instructions below.

📝 Instructions

  1. Read the ./INSTRUCTIONS.es.md file to learn the detailed steps of the project.

  2. Develop your solution in ./src/explore.ipynb. When you are in the ./src/explore.ipynb file, make sure to select the appropriate kernel. Upon opening the notebook, a message will appear at the top indicating "Select Kernel". Click on "Select Kernel" (as shown in the image).

    image-kernel

    A list with available options will be displayed. Select "Python Environments" and choose the Python version you want to use. Make sure to select the version specified in the devcontainer.json file, as this is the recommended one for the project.

    image-devcontainer

  3. Transfer the clean code to ./src/app.py once you have finished testing.

  4. Delete ./src/explore.ipynb after ensuring you no longer need it. This will keep the project clean and organized.

Follow these steps and proceed with the project in a structured manner! 🚀

Note: We also incorporated the solution samples on ./src/solution.ipynb that we strongly suggest you only use if you are stuck for more than 30 min or if you have already finished and want to compare it with your approach.

🚛 How to deliver this project

Once you have finished solving the exercises, be sure to commit your changes, push them to your repository, and go to 4Geeks.com to upload the repository link.

Sign up and get access to solution files and videos for free

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs

Sign up and get access to solution files and videos for free

We will use it to give you access to your account.
Already have an account? Login here.

By signing up, you agree to the Terms and conditions and Privacy policy.

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs

Difficulty

  • easy

Average duration

2 hrs

Technologies

  • HTTP

  • APIs