Skip to content

Simple Python module and CLI for interacting with the LRCLIB API.

License

Notifications You must be signed in to change notification settings

iiPythonx/lrcup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LRCUP

Python CLI and library for interacting with the LRCLIB.net API.

Installation

Install via PyPI:

pip install lrcup

CLI Usage

# If you have an unsynced/synced LRC file:
lrcup upload example.lrc

# If you have a track with embedded lyrics:
lrcup upload file.flac

Module Usage

The class method names are based off of the LRCLIB API endpoints.
Please refer to them for more information.

from lrcup import LRCLib

lrclib = LRCLib()

# Example of getting synced lyrics via search
results = lrclib.search(
    track = "Never gonna give you up",
    artist = "Rick Astley"
)
print(results[0]["syncedLyrics"])

About

Simple Python module and CLI for interacting with the LRCLIB API.

Resources

License

Stars

Watchers

Forks

Languages