vibe-chart.py is a Python API that retrieves the TOP 100 information from the Naver Vibe.
pip install vibe-chart.py
The main usage of vibe-chart.py is similar to billboard.py.
>>> from vibe import *
>>> chart = ChartData(image_size=500)
>>> print(chart[0].json())
{
"artist": "IVE(์์ด๋ธ)",
"image": "https://musicmeta-phinf.pstatic.net/album/009/334/9334427.jpg?type=r500Fll&v=20230404132130",
"isNew": false,
"lastPos": 1,
"rank": 1,
"title": "Kitsch"
}
>>> print(chart.name)
์ค๋ Top 100
>>> print(chart.date)
2023-04-09 07:00:00
nameโ The chart namedateโ The chart datequeryStartโ The starting index of the chart entries to be retrieved from the Vibe API. (default: 1)queryCountโ The number of items to retrieve from the API response, starting fromqueryStart. (default: 100)imageSizeโ 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.
