Skip to content

Convert ChartEntry to dictionary#96

Open
s2t2 wants to merge 1 commit intoguoguo12:masterfrom
s2t2:master
Open

Convert ChartEntry to dictionary#96
s2t2 wants to merge 1 commit intoguoguo12:masterfrom
s2t2:master

Conversation

@s2t2
Copy link

@s2t2 s2t2 commented Aug 25, 2024

Updates ChartEntry to allow it to be converted to a dictionary.

Example:

chart = ChartData('hot-100', date="2024-07-30")
entry = chart.entries[0]

dict(entry)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant