https://github.com/nekitori17/phigros-api-lib
https://github.com/nekitori17/phigros-api-lib
api phigros rhythm-game
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nekitori17/phigros-api-lib
- Owner: Nekitori17
- License: gpl-3.0
- Created: 2024-12-25T08:58:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T04:48:18.000Z (over 1 year ago)
- Last Synced: 2025-09-20T13:38:02.871Z (9 months ago)
- Topics: api, phigros, rhythm-game
- Language: Python
- Homepage:
- Size: 111 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Phigros API Lib
A python package for accessing to phigros api
## Installation
```bash
pip install PhigrosAPILib
```
## Usage
```py
from PhigrosAPILib import PhigrosAPI
client = PhigrosAPI("<>") # 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
```bash
$ > updatePhiDB
```
or
```py
from PhigrosAPILib import DataUpdater
updater = DataUpdater()
updater.update_all()
```
## Credit
[PhigrosLibrary](https://github.com/7aGiven/PhigrosLibrary)
[Phigros Source](https://github.com/7aGiven/Phigros_Resource)