Skip to main content

vibe-chart.py

vibe

vibe-chart.py is a Python API that retrieves the TOP 100 information from the Naver Vibe.

Installation

pip install vibe-chart.py

Quickstart

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

ChartData Arguments

  • name – The chart name
  • date – The chart date
  • queryStart – 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 from queryStart. (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 to False, you can fetch the data later using the fetchEntries() method.

Chart entry attributes

ChartEntry can be accessed using the ChartData[index] syntax. A ChartEntry instance has the following attributes:

  • title – The title of the track
  • artist – The name of the artist
  • image – The URL of the cover image for the track
  • lastPos - 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.

Dependencies

License

This project is licensed under the MIT License.

Metadata

Release files for vibe-chart.py 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vibe-chart.py 1.0.1
File Size Uploaded
vibe-chart.py-1.0.1.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vibe-chart.py 1.0.1
File Interpreter ABI Platform
vibe_chart.py-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / vibe-chart.py-1.0.1.tar.gz

Download URL vibe-chart.py-1.0.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
570363406e0967cca1eb0f52c4c75e2bc751aaece8e40293505836b6e8cb82f6
BLAKE2b-256 checksum
How to use checksums
7a950c8763beb4a267caf4a22c2cd0f29da9f449449b5faf5e1511ddaf026358
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / vibe_chart.py-1.0.1-py3-none-any.whl

Download URL vibe_chart.py-1.0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4f5f4a38920594a4efbf73132613fb7e9c8728e9a1811f3a59235df1f83c501
BLAKE2b-256 checksum
How to use checksums
44702c848e6b1d635c3108f57ca48c7848c4f73db06e5544a8eebe341a3be0e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page