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 Updater

updater = Updater()
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.0.tar.gz (40.8 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.0-py3-none-any.whl (44.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phigrosapilib-1.2.0.tar.gz
  • Upload date:
  • Size: 40.8 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.0.tar.gz
Algorithm Hash digest
SHA256 df7f9dcc1724b237967f04088e6412d935cd43e635e70e7d96aa70eab8dd8fd2
MD5 f9cfeb233c08b0671b09fc5c45e6c841
BLAKE2b-256 512b3fd197d642535d4c7cf84a99a4cf81c4ba0beedd5055e34097b1c146eeb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PhigrosAPILib-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 44.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6326c8020e389e0b1c485e11f2efd0797ab8d9b87d4dc57940c0a87b367c49df
MD5 1b5aceae3933fa5be4a2ca7f0220bc93
BLAKE2b-256 198b72d97b8ef878a4bd0ad037c797156fb7455c368619b0a86d4806fc4848ee

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