Library for easily calling Apex tracker APIs (supports TRN and APEX LEGENDS APIs)
Project description
ApexTrackerPy
Python library that calls the ApexLegends tracker API
ApexLegendsトラッカーAPIを呼び出すpythonライブラリ
Install
It will be installed by pip3 install ApexTrackerPy
.
You can also use git to install
pip3 install git+https://github.com/nerrog/ApexTrackerPy.git
pip3 install ApexTrackerPy
でインストールされます
gitを使用してインストールすることもできます
pip3 install git+https://github.com/nerrog/ApexTrackerPy.git
usage
All return values are in json. In the future, we plan to implement return methods other than json.
However, if you install from git, some functions will be returned by their own class.
If you install the stable version from git, please specify the tag
返り値はすべてjsonです。 将来的にはjson以外の返却方法も実装する予定です
ただし、gitからインストールした場合は一部関数は独自クラスによって値が返却されます
gitから安定版をインストールする場合tagの指定をしてください
Apex Legends API
Use the API at apexlegendsapi.com.
You will need to apply for and prepare an API key in advance.
apexlegendsapi.comのAPIを使用します。
事前にAPIキーの申請と準備が必要です
Player stats API
GetApexPlayerStatus(api_key, platform, playerName, *Isuid)
Isuid is optional.
If true, playerName will contain uid.
Also, by separating playerName with a comma, multiple player information can be obtained, although the execution time will be longer.
Isuidはオプションです。
Trueの場合playerNameにuidが入ります
また、playerNameをカンマで区切ることによって実行時間は長くなりますが複数プレイヤー情報が取得できます
Map rotation API
GetApexMapRotation(api_key)
News API
GetApexNews(api_key, *language)
language is optional. By default, en-us is used.
languageはオプションです。 デフォルトではen-usが使用されます
Server status API
GetApexServerStatus(api_key)
As per the documentation, you need to display a message on your site when using this API.
ドキュメントにある通り、このAPIを使用する場合にはサイトにメッセージを表示する必要があります。
Origin / EA API
CallOriginAPI(api_key, PlayerName)
Name to UID API
GetUIDbyName(api_key, platform, PlayerName)
Tracker Network API
Use the API at Tracker Network APIs for Developers.
You will need to apply for and prepare an API key in advance.
Tracker Network APIs for DevelopersのAPIを使用します。
事前にAPIキーの申請と準備が必要です
Get an Apex Legends player's profile stats
GetApexPlayerStatus_TRN(api_key, platform, playerName)
Get an Apex Legends player's match history broken up by session
GetApexPlayersMatchHistory_TRN(api_key, platform, playerName)
Project details
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
Hashes for ApexTrackerPy-1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66da43f514b65dc26bc74520c38814a1a5fdb795c9a0cc9d19750b9d82ba5068 |
|
MD5 | a15989edafa30142ab1c82f67c8f5e1a |
|
BLAKE2b-256 | 8706ca0f5a6a41c52e3c380bf849874b01fc53bfe1f929d3f20b8bf5739883dd |