Tracker Network Wrapper In Python.
Project description
ggpython
Tracker Network Wrapper In Python.
Contents
- Description
- Installation
- Usage
- Documentation
- License
- Requirements
- Release signature
- Development
- Author
Description
TrackerNetwork 非公式API。
Discord bot 用に作成しているものをPythonライブラリとして管理している。
Among its features... :
- ゲームの情報を取得する機能
- Valorant (Match, PlayableCharacter, Map, Weapon, Custom, Award, and its Summary)
- 文字列整形機能
- for console standard output.
- for Discord text chat output.
- スクレイピング用のChromiumエンジンWrapper
For more information, refer to the Documentation or Sample.
Installation
You can Download the latest installable version of ggpython for Windows (zip format).
The simplest way to install the latest version from PyPI is by using:
pip install --upgrade ggpython
If you want to install this for development purposes,
you can install directly from the GitHub repository:
git clone https://github.com/nakashimas/ggpython.git
cd ggpython
pip install .
also following:
pip install git+https://github.com/nakashimas/ggpython
Usage
Valorantのマッチリザルトを取得できる。(最大20件)
from ggpython import GGTrackerAPI, GAME
with GGTrackerAPI(GAME.VALORANT) as gg:
res = gg.get_match_result("Username", "#tag", mode = "unrated")
Discord Bot用に出力結果を整形できる。(調整中)
サンプル:
print(convert_valorant_match_to_discord(res))
# -> to paste discord plane text
結果:
Discordサーバに絵文字を登録しておく必要がある
Documentation
Document is available from there.
License
This project is licensed under the terms of the MIT.
このプロジェクトは MIT ライセンスに基づいて管理されています。
Requirements
- selenium
- chromedriver_binary
- chromedriver_autoinstaller
You find requirements at also requirements.txt.
Release signature
- ggpython-0.0.1-py3-none-any.whl
- ggpython-0.0.1.tar.gz
Development
We would love to have you as part of the community. If you find a bug / new-feature, feel free to write a new Issue with a respective title and description on this repository.
If you need help with an Issue or Development, please refer to the guidelines or ask me.
Author
ggpython authors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ggpython-0.0.1.tar.gz
.
File metadata
- Download URL: ggpython-0.0.1.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be405782ed1e18bf8dcab56ac8aae6f4f12545dfecc3a1f061d229f25342a103 |
|
MD5 | e32d676edcd11481295c06405e360826 |
|
BLAKE2b-256 | 50e16d46928e0ebb45806e43080c18758990a9fe0bf384a73eba4a6ba19d62aa |
File details
Details for the file ggpython-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ggpython-0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8911cbf92503c45e6b4c18f53033b771ce545b37bf00f8743bfbba18a501f377 |
|
MD5 | b860290b4b96d5f75348f650b083e785 |
|
BLAKE2b-256 | 333286d6f4f7a134539ee0ae7b4b1f147f059eb7a4d4d43f7e213bb1ac7be180 |