flo-chart.py is a Python API that retrieves the TOP 100 information from the FLO.
pip install flo-chart.py
The main usage of flo-chart.py is similar to billboard.py.
>>> from flo import *
>>> chart = ChartData()
>>> print(chart[0].json())
{
"artist": "IVE (์์ด๋ธ)",
"image": "https://cdn.music-flo.com/image/v2/album/763/481/12/04/412481763_6420ff34_s.jpg?1679884086290/dims/resize/256x256/quality/90",
"isNew": false,
"lastPos": 1,
"rank": 1,
"title": "Kitsch"
}
>>> print(chart.name)
FLO ์ฐจํธ
>>> print(chart.date)
2023-04-09 22:00:00
name
โ The chart namedate
โ The chart dateimageSize
โ The size of cover image for the track. (default: 256)fetch
โ A boolean value that indicates whether to retrieve the chart data immediately. If set toFalse
, you can fetch the data later using thefetchEntries()
method.
ChartEntry
can be accessed using the ChartData[index]
syntax. A ChartEntry
instance has the following attributes:
title
โ The title of the trackartist
โ The name of the artistimage
โ The URL of the cover image for the tracklastPos
- The track's last position on the previous period.rank
โ The track's current rank position on the chart.isNew
โ Whether the track is new to the chart.
- Melon | melon-chart.py
- Bugs | bugs-chart.py
- Genie | genie-chart.py
- Vibe | vibe-chart.py
- Flo | flo-chart.py
This project is licensed under the MIT License.