PhigrosAPILib


NamePhigrosAPILib JSON
Version 1.3.7 PyPI version JSON
download
home_pagehttps://github.com/Nekitori17/phigros-api-lib
SummaryA library for accessing Phigros API
upload_time2025-02-16 04:49:58
maintainerNone
docs_urlNone
authorNekitori17
requires_python>=3.7
licenseGNU General Public License v3 (GPLv3)
keywords phigros api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Phigros API Lib

A python package for accessing to phigros api

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

## Usage
```py
from PhigrosAPILib 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 import DataUpdater

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

## Credit

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

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Nekitori17/phigros-api-lib",
    "name": "PhigrosAPILib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "Phigros, API",
    "author": "Nekitori17",
    "author_email": "cuongnguyen286641@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/17/b3a235380eb83b9bba2689facb2175f4476c862015b22e7e9381df5aa859/phigrosapilib-1.3.7.tar.gz",
    "platform": null,
    "description": "## Phigros API Lib\r\n\r\nA python package for accessing to phigros api\r\n\r\n## Installation\r\n```bash\r\npip install PhigrosAPILib\r\n```\r\n\r\n## Usage\r\n```py\r\nfrom PhigrosAPILib import PhigrosAPI\r\n\r\nclient = PhigrosAPI(\"<<SESSION_TOKEN>>\")  # Initialize PhigrosAPI client with session token\r\nclient.save                               # Player raw save data\r\nclient.player_summary                     # Player summary\r\nclient.user_info                          # Account information\r\nclient.records                            # Played song records\r\nclient.get_best_records(5)                # Best records with overflow of 5\r\n```\r\n\r\n## Update\r\n\r\nUpdate song and chart database\r\n\r\n```bash\r\n$ > updatePhiDB\r\n```\r\n\r\nor\r\n\r\n```py\r\n\r\nfrom PhigrosAPILib import DataUpdater\r\n\r\nupdater = DataUpdater()\r\nupdater.update_all()\r\n```\r\n\r\n## Credit\r\n\r\n[PhigrosLibrary](https://github.com/7aGiven/PhigrosLibrary)\r\n\r\n[Phigros Source](https://github.com/7aGiven/Phigros_Resource)\r\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3 (GPLv3)",
    "summary": "A library for accessing Phigros API",
    "version": "1.3.7",
    "project_urls": {
        "Homepage": "https://github.com/Nekitori17/phigros-api-lib"
    },
    "split_keywords": [
        "phigros",
        " api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6365fa333677872b44ce9518bda0cc9d0c39a53fcdd2ef64d906246ea4f3f0d7",
                "md5": "689138cf5fcbc8f5cab4ead50adbc6b7",
                "sha256": "40bda70dabdfd21c6831b7811fdb458e531f73d81a228d3d62886bb9cf2f9e97"
            },
            "downloads": -1,
            "filename": "PhigrosAPILib-1.3.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "689138cf5fcbc8f5cab4ead50adbc6b7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 47033,
            "upload_time": "2025-02-16T04:49:55",
            "upload_time_iso_8601": "2025-02-16T04:49:55.383463Z",
            "url": "https://files.pythonhosted.org/packages/63/65/fa333677872b44ce9518bda0cc9d0c39a53fcdd2ef64d906246ea4f3f0d7/PhigrosAPILib-1.3.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d017b3a235380eb83b9bba2689facb2175f4476c862015b22e7e9381df5aa859",
                "md5": "48fe30247ed994c85796e0f31185d81f",
                "sha256": "e8f592a1e42241d7cc8623e5e280f9ce4d8ec7684fe5d7731e95d0cc6f6b360d"
            },
            "downloads": -1,
            "filename": "phigrosapilib-1.3.7.tar.gz",
            "has_sig": false,
            "md5_digest": "48fe30247ed994c85796e0f31185d81f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 43324,
            "upload_time": "2025-02-16T04:49:58",
            "upload_time_iso_8601": "2025-02-16T04:49:58.283620Z",
            "url": "https://files.pythonhosted.org/packages/d0/17/b3a235380eb83b9bba2689facb2175f4476c862015b22e7e9381df5aa859/phigrosapilib-1.3.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-16 04:49:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Nekitori17",
    "github_project": "phigros-api-lib",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "phigrosapilib"
}
        
Elapsed time: 0.58028s