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 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 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.7.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.7-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phigrosapilib-1.3.7.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.7.tar.gz
Algorithm Hash digest
SHA256 e8f592a1e42241d7cc8623e5e280f9ce4d8ec7684fe5d7731e95d0cc6f6b360d
MD5 48fe30247ed994c85796e0f31185d81f
BLAKE2b-256 d017b3a235380eb83b9bba2689facb2175f4476c862015b22e7e9381df5aa859

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PhigrosAPILib-1.3.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 40bda70dabdfd21c6831b7811fdb458e531f73d81a228d3d62886bb9cf2f9e97
MD5 689138cf5fcbc8f5cab4ead50adbc6b7
BLAKE2b-256 6365fa333677872b44ce9518bda0cc9d0c39a53fcdd2ef64d906246ea4f3f0d7

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