Metadata-Version: 2.1
Name: PhigrosAPILib
Version: 1.0.0
Summary: A library for accessing Phigros API
Home-page: https://github.com/Nekitori17/phigrs-api-lib
Author: Nekitori17
Author-email: cuongnguyen286641@gmail.com
License: GNU General Public License v3 (GPLv3)
Keywords: Phigros,API
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click
Requires-Dist: requests
Requires-Dist: pycryptodome

## Phigros API Lib

A python package for accessing to phigros api

## Installation
```bash
pip install PhigrosAPILib
```

## Usage
```py
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

```bash
updatePhiDB
```

or

```py

from PhigrosAPILib.Updater import Updater

updater = Updater()
updater.update_all()
```
