Skip to main content

flo-chart.py

flo

flo-chart.py is a Python API that retrieves the TOP 100 information from the FLO.

Installation

pip install flo-chart.py

Quickstart

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

ChartData Arguments

  • name – The chart name
  • date – The chart date
  • 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 flo-chart.py 1.0.0

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

Source distribution (sdist)

Source distribution for flo-chart.py 1.0.0
File Size Uploaded
flo-chart.py-1.0.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flo-chart.py 1.0.0
File Interpreter ABI Platform
flo_chart.py-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / flo-chart.py-1.0.0.tar.gz

Download URL flo-chart.py-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b90a9ba8a89784fea0882df4a90f594fa44573dd15819f9faefb510ad6f1b7cf
BLAKE2b-256 checksum
How to use checksums
cd5c55075b704ba3767e8b86578cb9fa1f88cccd8bda84b22e78384bab948be7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / flo_chart.py-1.0.0-py3-none-any.whl

Download URL flo_chart.py-1.0.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
917c44144168a623c16dee5660ad64c18e601fce0c7482b38c4362072ee49c12
BLAKE2b-256 checksum
How to use checksums
a0873c06b19e786302c3b196514a56dcf817959a676b9ff84fba47d774629ca5
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.0 This release

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