Searcher of lyrics's musics
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
- Python
- Streamlit
- Requests
- API: Lyrics.ovh
How it works
Running the project
- Clone the repository and install the required dependencies (
streamlit,requests). - Run the Streamlit app with
streamlit run app.py.
Using the app
- Enter the band/artist name and the song title in the input fields.
- Click Search and wait for the response.
- If the lyrics are found, they will be displayed below the search button.
- 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.