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()

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.0.0.tar.gz (40.7 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.0.0-py3-none-any.whl (44.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phigrosapilib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4ef738dbbbb099c2633c04c137e4b227fec4e7ad9456931a145b7d393e4ed408
MD5 96c1935e33498d3a6de4b9812d4eafa0
BLAKE2b-256 9a8f1c41458812733a02563a3b1268fbcef4876783033ff3067a542fc7a885c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PhigrosAPILib-1.0.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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b3ffafee0ebae122b5011877e51ba29355ca3ef40f55fccde48edbdd37115f4
MD5 f870b34abb773d214548772548a001d6
BLAKE2b-256 dcf4af94b0f4774817632cfdad4cdc0dd8d8d1883a019554342473da3c506201

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