Skip to content

linzhou-zhong/your_lucky_song

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find the Number 1 Song on the Day You Were Born

A python class and main function to find the most played song on the day you were born.

Installation

Requirements

You should preferer Python 3 packages from your operating system.

Install the module

Under Windows and MacOs:

pip3 install your_day_song

If you meet permissions issue, I recommend you try this step:

pip3 install your_day_song --user

Into a Python program

Remember to replace day, month and year in bracket with your favorite number.
Ex : user = yls(day=1, month=1, year=1990)

from your_lucky_song import your_lucky_song as yls

user = yls(day=None, month=None, year=None)
url = user.feel_lucky()

Where yds is used to get the date you were born, feel_lucky() will give you directly a url from Youtube and to export your lucky right now !

You'll get a Youtube url in the end, find the song which is the most popular on date when you were born, let's check it out :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages