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.2.1.tar.gz (41.5 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.2.1-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phigrosapilib-1.2.1.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for phigrosapilib-1.2.1.tar.gz
Algorithm Hash digest
SHA256 38b119f86d0121b71135d1600b21276ac463fa1b03563c088df502e33b087e9b
MD5 19fa675ab1fd783ad438443d11416536
BLAKE2b-256 3845fa0d405773e77ba79196a98991e9f31c41e36ec6e0d149f584cd1b18d939

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PhigrosAPILib-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 44.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for PhigrosAPILib-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75b64e224e0ab8ede63554465720274a73ceb16370be2d35e669020bf486bcb8
MD5 3bcb7ea637643d00f41364ad8fc7958d
BLAKE2b-256 37aa62a95c94492b7b919042ae734f55585e76dbf2e949039ec4e01391ce6e0e

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