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.1.tar.gz (42.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.3.1-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phigrosapilib-1.3.1.tar.gz
  • Upload date:
  • Size: 42.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.3.1.tar.gz
Algorithm Hash digest
SHA256 11fb08eb005e5bcc1e4931d3a2b18b3e3e388f252f64912788ea4a9cc1eac795
MD5 062c2a2048ed655fc0671807d554c4e8
BLAKE2b-256 b702a318d683cf01d6b2a18280c6d0a41fa5ab0a63901e158cc3e622b996b0e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PhigrosAPILib-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 46.0 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b90270b8d83d2ab1f47d397d9b9d72f5abfed0e84890eac6937ad3dc4e554287
MD5 e1c529ff16c9e0cd346452470704dee5
BLAKE2b-256 aba51b9a0e4e1e719f727254331b6a6ddc3d615d6223fa207ab013a1867daaaf

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