Metadata-Version: 2.2
Name: PhigrosAPILib
Version: 1.3.5
Summary: A library for accessing Phigros API
Home-page: https://github.com/Nekitori17/phigros-api-lib
Author: Nekitori17
Author-email: cuongnguyen286641@gmail.com
License: GNU General Public License v3 (GPLv3)
Keywords: Phigros,API
Classifier: Development Status :: 5 - Production/Stable
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
Requires-Dist: colorama
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

## 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 DataUpdater

updater = DataUpdater()
updater.update_all()
```

## Credit

[PhigrosLibrary](https://github.com/7aGiven/PhigrosLibrary)

[Phigros Source](https://github.com/7aGiven/Phigros_Resource)
