Skip to main content

A library for accessing Phigros API

Project description

Phigros API Lib

A python package for accessing to phigros api

Installation

pip install PhigrosAPILib

Usage

from PhigrosAPILib.Core import PhigrosAPI

client = PhigrosAPI("<<SESSION_TOKEN>>")  # Initialize PhigrosAPI client with session token
client.save                               # Player raw save data
client.player_summary                     # Player summary
client.user_info                          # Account information
client.records                            # Played song records
client.get_best_records(5)                # Best records with overflow of 5

Update

Update song and chart database

$ > updatePhiDB

or

from PhigrosAPILib.Updater import DataUpdater

updater = DataUpdater()
updater.update_all()

Credit

PhigrosLibrary

Phigros Source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phigrosapilib-1.3.5.tar.gz (43.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PhigrosAPILib-1.3.5-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

Details for the file phigrosapilib-1.3.5.tar.gz.

File metadata

  • Download URL: phigrosapilib-1.3.5.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for phigrosapilib-1.3.5.tar.gz
Algorithm Hash digest
SHA256 f70e5b41d3fd006466d26b41c8d57eeca128b83dd6704a377c94be3c8e28a477
MD5 cf18368c1fac591273ab571e8cdc9326
BLAKE2b-256 edf291ae2703faea0f68b328a56176c84049eb0246343b25ee1225efd647066d

See more details on using hashes here.

File details

Details for the file PhigrosAPILib-1.3.5-py3-none-any.whl.

File metadata

  • Download URL: PhigrosAPILib-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 47.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for PhigrosAPILib-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d02a508002064b8a7148034f8f5d6c5072d4b8b087963e43931f8284da9c9d30
MD5 b34625492d9d14dea4490ed31a1497bb
BLAKE2b-256 65071161d53462adba2216517ba4e03ea14e11ee9e4cfcef71e61389e79c2e2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page