overwatchpy


Nameoverwatchpy JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryPython wrapper for Overwatch API
upload_time2023-10-15 03:47:33
maintainer
docs_urlNone
authoralexraskin
requires_python>=3.11,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # OverwatchPy

A Python wrapper for [https://overfast-api.tekrop.fr/](https://overfast-api.tekrop.fr/)

I wrote this very fast so it's not very good, but it works.

Please open a PR if you want to improve it or add more features.

## Requirements

- Python 3.11 (3.9+ should work)
- Poetry

## Installation

```bash
poetry install
```

## Usage

```python
from overwatchpy import Overwatch

search: Overwatch.player_search = Overwatch.player_search("twizy", "quickplay", "pc", "public")

for player in search:
    print(player.name)

client = Overwatch()

heros = client.heroes(role="tank")
for hero in heros:
  print(hero.name)

game_modes = client.gamemodes()
for game_mode in game_modes:
  print(game_mode.name)
  print(game_mode.description)
```

## License
[MIT](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "overwatchpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "alexraskin",
    "author_email": "alexgithub@fastmail.fm",
    "download_url": "https://files.pythonhosted.org/packages/58/45/ce4d85a4590d33f8289983a21b345a8d29c7e158e2d452e98819ab261d4c/overwatchpy-0.0.4.tar.gz",
    "platform": null,
    "description": "# OverwatchPy\n\nA Python wrapper for [https://overfast-api.tekrop.fr/](https://overfast-api.tekrop.fr/)\n\nI wrote this very fast so it's not very good, but it works.\n\nPlease open a PR if you want to improve it or add more features.\n\n## Requirements\n\n- Python 3.11 (3.9+ should work)\n- Poetry\n\n## Installation\n\n```bash\npoetry install\n```\n\n## Usage\n\n```python\nfrom overwatchpy import Overwatch\n\nsearch: Overwatch.player_search = Overwatch.player_search(\"twizy\", \"quickplay\", \"pc\", \"public\")\n\nfor player in search:\n    print(player.name)\n\nclient = Overwatch()\n\nheros = client.heroes(role=\"tank\")\nfor hero in heros:\n  print(hero.name)\n\ngame_modes = client.gamemodes()\nfor game_mode in game_modes:\n  print(game_mode.name)\n  print(game_mode.description)\n```\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Python wrapper for Overwatch API",
    "version": "0.0.4",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4b44d409b41534f67cb22fbed0590c6e772b9cbe61b8c03497330f1108851126",
                "md5": "b7e5a819d347bdf8239fb4ee6575941f",
                "sha256": "ae98480ca154cb8cdb37b692fd5c78836c1ba6d8c6476edd638a6ab699922bbe"
            },
            "downloads": -1,
            "filename": "overwatchpy-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b7e5a819d347bdf8239fb4ee6575941f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 7018,
            "upload_time": "2023-10-15T03:47:31",
            "upload_time_iso_8601": "2023-10-15T03:47:31.835328Z",
            "url": "https://files.pythonhosted.org/packages/4b/44/d409b41534f67cb22fbed0590c6e772b9cbe61b8c03497330f1108851126/overwatchpy-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5845ce4d85a4590d33f8289983a21b345a8d29c7e158e2d452e98819ab261d4c",
                "md5": "7ef6ea2b3415b8a5bcd7b68ac4296cdd",
                "sha256": "f5de6b6ce8e626121a04713799d8eadffff68e01cdb9d1117e59aa56fa0261ec"
            },
            "downloads": -1,
            "filename": "overwatchpy-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "7ef6ea2b3415b8a5bcd7b68ac4296cdd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 5970,
            "upload_time": "2023-10-15T03:47:33",
            "upload_time_iso_8601": "2023-10-15T03:47:33.359249Z",
            "url": "https://files.pythonhosted.org/packages/58/45/ce4d85a4590d33f8289983a21b345a8d29c7e158e2d452e98819ab261d4c/overwatchpy-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-15 03:47:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "overwatchpy"
}
        
Elapsed time: 0.30316s