pyvaloapi


Namepyvaloapi JSON
Version 1.2 PyPI version JSON
download
home_page
Summary
upload_time2023-01-19 20:41:15
maintainer
docs_urlNone
authorMohamed Yassine Ahmed Ali
requires_python
license
keywords python api valorant games gaming http
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <br/>
<p align="center">
  <a href="https://github.com/YASSINE-AA/PyValo">
    <img src="https://cdn2.steamgriddb.com/file/sgdb-cdn/icon_thumb/9e82757e9a1c12cb710ad680db11f6f1.png" alt="Logo" width="80" height="80">
    
  </a>

  <h3 align="center">PyValo</h3>
  <p align="center">
    Unofficial Valorant API for Python
    <br /><p align="center">
https://pypi.org/project/pyvaloapi/1.2/
</p>

  </p>
</p>

![Contributors](https://img.shields.io/github/contributors/YASSINE-AA/PyValo?color=dark-green) ![Issues](https://img.shields.io/github/issues/YASSINE-AA/PyValo) ![License](https://img.shields.io/github/license/YASSINE-AA/PyValo) 

#### Install PyValo API Via PIP package manager
```
pip install pyvaloapi
```

## What's new!
Ping a specific valorant server via the get_valorant_server_ping(region) method from the UnofficialAPI Class.

## Table Of Contents

* [About the Project](#about-the-project)
* [Getting Started](#getting-started)
  * [Prerequisites](#prerequisites)
  * [Setting Up](#setting-up)
* [Usage](#usage)
* [Example of an instalock bot](#example-of-an-instalock-bot)
* [Authors](#authors)


## About The Project

Unofficial Valorant API that interacts with the Riot Client.

## Getting Started

### Prerequisites

* Requests module required for the Request class.

```
pip install requests #On Windows
pip3 install requests #On Linux/Mac
```

### Setting Up

1. Clone the repo

```sh
git clone https://github.com/YASSINE-AA/PyValo
```
2. Start Coding!

## Usage

Initialize the client class

```python
from pyvaloapi import ValorantClient
client = ValorantClient()
```

Initialize the Unofficial API class
```python
unofficial_api = client.unofficial_api()
```

## Example of an instalock bot
#### DO NOT USE THIS FOR INSTALOCKING
In this example we're locking the agent "Jett".
```python
from pyvaloapi import ValorantClient
client = ValorantClient()
unofficial_api = client.unofficial_api()
while("MatchID" not in unofficial_api.get_current_pregame(unofficial_api.get_current_player_puuid())): pass
unofficial_api.lock_pregame_agent("add6443a-41bd-e414-f6ad-e58d267f4e95")
```

Happy Coding!
## Authors

* **Yassine Ahmed Ali** - *Computer Engineering Student* - [Yassine Ahmed Ali](https://github.com/YASSINE-AA) - *Developer*

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pyvaloapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,api,valorant,games,gaming,http",
    "author": "Mohamed Yassine Ahmed Ali",
    "author_email": "<yassineahmedali02@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/16/1f/c86c94b83f8d2377c12b1ae062e9bcb8af62e11b8da2e958ce27f48a591e/pyvaloapi-1.2.tar.gz",
    "platform": null,
    "description": "<br/>\r\n<p align=\"center\">\r\n  <a href=\"https://github.com/YASSINE-AA/PyValo\">\r\n    <img src=\"https://cdn2.steamgriddb.com/file/sgdb-cdn/icon_thumb/9e82757e9a1c12cb710ad680db11f6f1.png\" alt=\"Logo\" width=\"80\" height=\"80\">\r\n    \r\n  </a>\r\n\r\n  <h3 align=\"center\">PyValo</h3>\r\n  <p align=\"center\">\r\n    Unofficial Valorant API for Python\r\n    <br /><p align=\"center\">\r\nhttps://pypi.org/project/pyvaloapi/1.2/\r\n</p>\r\n\r\n  </p>\r\n</p>\r\n\r\n![Contributors](https://img.shields.io/github/contributors/YASSINE-AA/PyValo?color=dark-green) ![Issues](https://img.shields.io/github/issues/YASSINE-AA/PyValo) ![License](https://img.shields.io/github/license/YASSINE-AA/PyValo) \r\n\r\n#### Install PyValo API Via PIP package manager\r\n```\r\npip install pyvaloapi\r\n```\r\n\r\n## What's new!\r\nPing a specific valorant server via the get_valorant_server_ping(region) method from the UnofficialAPI Class.\r\n\r\n## Table Of Contents\r\n\r\n* [About the Project](#about-the-project)\r\n* [Getting Started](#getting-started)\r\n  * [Prerequisites](#prerequisites)\r\n  * [Setting Up](#setting-up)\r\n* [Usage](#usage)\r\n* [Example of an instalock bot](#example-of-an-instalock-bot)\r\n* [Authors](#authors)\r\n\r\n\r\n## About The Project\r\n\r\nUnofficial Valorant API that interacts with the Riot Client.\r\n\r\n## Getting Started\r\n\r\n### Prerequisites\r\n\r\n* Requests module required for the Request class.\r\n\r\n```\r\npip install requests #On Windows\r\npip3 install requests #On Linux/Mac\r\n```\r\n\r\n### Setting Up\r\n\r\n1. Clone the repo\r\n\r\n```sh\r\ngit clone https://github.com/YASSINE-AA/PyValo\r\n```\r\n2. Start Coding!\r\n\r\n## Usage\r\n\r\nInitialize the client class\r\n\r\n```python\r\nfrom pyvaloapi import ValorantClient\r\nclient = ValorantClient()\r\n```\r\n\r\nInitialize the Unofficial API class\r\n```python\r\nunofficial_api = client.unofficial_api()\r\n```\r\n\r\n## Example of an instalock bot\r\n#### DO NOT USE THIS FOR INSTALOCKING\r\nIn this example we're locking the agent \"Jett\".\r\n```python\r\nfrom pyvaloapi import ValorantClient\r\nclient = ValorantClient()\r\nunofficial_api = client.unofficial_api()\r\nwhile(\"MatchID\" not in unofficial_api.get_current_pregame(unofficial_api.get_current_player_puuid())): pass\r\nunofficial_api.lock_pregame_agent(\"add6443a-41bd-e414-f6ad-e58d267f4e95\")\r\n```\r\n\r\nHappy Coding!\r\n## Authors\r\n\r\n* **Yassine Ahmed Ali** - *Computer Engineering Student* - [Yassine Ahmed Ali](https://github.com/YASSINE-AA) - *Developer*\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "1.2",
    "split_keywords": [
        "python",
        "api",
        "valorant",
        "games",
        "gaming",
        "http"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "138ea166cf448fa5ac5ec396d0112e3a623f3204e4ef5f1cda6bd40b6b836cc0",
                "md5": "18e4c05defbb09fc47aacc20ad53ee0c",
                "sha256": "7603b61e5465dbd143b4606bc54f8d686eaf1eb95743147c486d1acfce52609c"
            },
            "downloads": -1,
            "filename": "pyvaloapi-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "18e4c05defbb09fc47aacc20ad53ee0c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 16659,
            "upload_time": "2023-01-19T20:41:14",
            "upload_time_iso_8601": "2023-01-19T20:41:14.034880Z",
            "url": "https://files.pythonhosted.org/packages/13/8e/a166cf448fa5ac5ec396d0112e3a623f3204e4ef5f1cda6bd40b6b836cc0/pyvaloapi-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "161fc86c94b83f8d2377c12b1ae062e9bcb8af62e11b8da2e958ce27f48a591e",
                "md5": "cd2f243ea79b565df601b157b9e6b1e8",
                "sha256": "db97b05f9fb49c9dbe3f7bcb2d64fb6c730f9b3d896483ca7a357a5f523d852d"
            },
            "downloads": -1,
            "filename": "pyvaloapi-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "cd2f243ea79b565df601b157b9e6b1e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16532,
            "upload_time": "2023-01-19T20:41:15",
            "upload_time_iso_8601": "2023-01-19T20:41:15.765243Z",
            "url": "https://files.pythonhosted.org/packages/16/1f/c86c94b83f8d2377c12b1ae062e9bcb8af62e11b8da2e958ce27f48a591e/pyvaloapi-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-19 20:41:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "pyvaloapi"
}
        
Elapsed time: 0.03315s