updating builder docstring
This commit is contained in:
@@ -91,17 +91,12 @@ class LyricsBuilder(LyricsConcreteBuilder):
|
|||||||
def construct_lyrics_url(artist: str, song: str) -> str:
|
def construct_lyrics_url(artist: str, song: str) -> str:
|
||||||
"""Builds the URL for the lyrics api.
|
"""Builds the URL for the lyrics api.
|
||||||
|
|
||||||
Parameters
|
Args:
|
||||||
----------
|
artist (str): Your chosen artist.
|
||||||
artist : str
|
song (str): A song to find a lyrics url for.
|
||||||
Artist
|
|
||||||
song : str
|
|
||||||
Track title
|
|
||||||
|
|
||||||
Returns
|
Returns:
|
||||||
-------
|
str: The url of the lyrics api for chosen song.
|
||||||
str
|
|
||||||
URL for lyrics from the lyrics api.
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
lyrics_api_base = 'https://api.lyrics.ovh/v1'
|
lyrics_api_base = 'https://api.lyrics.ovh/v1'
|
||||||
|
|||||||
Reference in New Issue
Block a user