aoe2_player_rating_history: aoe2_player_rating_history

Description Usage Arguments Details Examples

View source: R/aoe2_player_rating_history.r

Description

This function gives you data.frame of the player rating if the player has been active in the last 28 days.

Usage

1
2
3
4
5
6
7
aoe2_player_rating_history(
  player_id,
  start = 0,
  count = 10,
  leaderboard_id = 3,
  game = "aoe2de"
)

Arguments

player_id

Either profile_id or 64 bit steam id. Function takes either value and changes the api call accordingly.

start

Match at which to start counting. Default = '0'

count

Number of games to download. Max 1000.

leaderboard_id

Default is 3 for 1v1 Random Map, 4 is Team Random Map.

game

Default is aoe2de since the api is mostly used for that.

Details

More Information about aoe2.net api at https://aoe2.net/#api

Examples

1
2
3
4
#Rating History of GL. TheViper with profile_id
aoe2_player_rating_history(player_id="196240", count=5)
#Rating History of GL. TheViper with steam_id
aoe2_player_rating_history(player_id="76561197984749679", count=5)

johannes4998/aoe2dotnetapi documentation built on Aug. 20, 2021, 8:31 p.m.