Skip to main content

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.

返り値はすべてjsonです。 将来的にはjson以外の返却方法も実装する予定です

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

ApexTrackerPy-1.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

ApexTrackerPy-1.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page