Searcher of lyrics's musics

Published: (February 3, 2026 at 04:36 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Overview

This application allows users to search for song lyrics by providing the band/artist name and the song title. The graphical interface is built with Streamlit, and HTTP requests to the external API are handled using the requests library.

Technologies

How it works

Running the project

  1. Clone the repository and install the required dependencies (streamlit, requests).
  2. Run the Streamlit app with streamlit run app.py.

Using the app

  1. Enter the band/artist name and the song title in the input fields.
  2. Click Search and wait for the response.
  3. If the lyrics are found, they will be displayed below the search button.
  4. If the lyrics are not found, a message will inform the user accordingly.

What I learned

  • Gained a deeper understanding of how APIs and HTTP requests work, including handling different status codes and displaying user‑friendly error messages.
  • Learned the importance of URL encoding for names containing spaces, accents, or special characters.
  • Explored Streamlit’s simplicity for creating clean, responsive interfaces without heavy frameworks.
  • Improved coding style, project organization, and integration of multiple tools to deliver a functional user experience.
Back to Blog

Related posts

Read more »

Learning Python: The trenches

TL;DR I didn't expect Python to be as much of a pain and joy as it was. My Learning Journey I've been learning Python for the past three months and have had a...