Tool to use the Call of Duty API
Table of contents
.\fetch_icons.ps1
Export icons from the CDN
.\fetch_icons.ps1 [[-ExportPath] <String>] [-CwIcons] [-MwIcons] [-Bo4Icons] [-WwiiIcons] [-OnlyPrestiges] [-AllGames] [-LittleIcons] [<CommonParameters>]
Export the CoD Prestige/Level icons from the CDN
-
-ExportPath <String>
The path where to save the icons -
-CwIcons
Download Black ops Cold War icons, included in AllGames -
-MwIcons
Download Modern Warfare 2019 icons, included in AllGames -
-Bo4Icons
Download Black ops 4 icons, included in AllGames -
-WwiiIcons
Download World War II icons, included in AllGames -
-OnlyPrestiges
Only download the prestige icons -
-AllGames
Download all the icons from each games -
-LittleIcons
Download non large icons (if available)
PS > .\fetch_icons.ps1 -AllGames
.\cod_login.ps1
Login to the Activision API
.\cod_login.ps1 [[-Username] <String>] [[-Password] <SecureString>] [[-SaveFile] <String>] [-ReturnLoginInformation] [<CommonParameters>]
Login to the Activision API and return login data into a file or in the pipeline
-
-Username <String>
The email/username to connect to your Activision account -
-Password <SecureString>
ASecureString
of your password to connect -
-SaveFile <String>
By default "login_data.json", where the login data are saved, useless if the -ReturnLoginInformation is set -
-ReturnLoginInformation
Return the login information into the pipeline
PS> $pass = Read-Host -AsSecureString
******************
PS> .\cod_login.ps1 -Username "[email protected]" -Password $pass
Register DEVICE_ID '****'...
Login...
Writing login tokens into 'login_data.json'