Skip to main content

ggpython

Tracker Network Wrapper In Python.

AppVeyor badge

Contents

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.

Release files for ggpython 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ggpython 0.0.1
File Size Uploaded
ggpython-0.0.1.tar.gz 14.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ggpython 0.0.1
File Interpreter ABI Platform
ggpython-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.5 kB

Release files / ggpython-0.0.1.tar.gz

Download URL ggpython-0.0.1.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
be405782ed1e18bf8dcab56ac8aae6f4f12545dfecc3a1f061d229f25342a103
BLAKE2b-256 checksum
How to use checksums
50e16d46928e0ebb45806e43080c18758990a9fe0bf384a73eba4a6ba19d62aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.3

Release files / ggpython-0.0.1-py3-none-any.whl

Download URL ggpython-0.0.1-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8911cbf92503c45e6b4c18f53033b771ce545b37bf00f8743bfbba18a501f377
BLAKE2b-256 checksum
How to use checksums
333286d6f4f7a134539ee0ae7b4b1f147f059eb7a4d4d43f7e213bb1ac7be180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page