Skip to content

cluoma/haloR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HALO API R Package

Provides easy access to the Halo 5 and Halo Wars 2 web APIs provided by 343i.

A developer API key is required to use this package. You can get one from here

Package documentation is rather sparse so I recommend using Microsoft's official API documentation.

Installation:

install.packages(c("devtools","httr","jsonlite"))
library(devtools)
install_github("cluoma/haloR")

Example:

library(dplyr)
library(haloR)

key <- "XXXXXXXXXXXXXXXXXXXXX"
player <- "CLWakaLaka"

profile <- h5_ServiceRecord(mode = "arena", player, key = key)

print(paste0(
  player, " has an overal K/D ratio of ",
  round(profile$Results$Result$ArenaStats$TotalKills /
          profile$Results$Result$ArenaStats$TotalDeaths,
        digits=2)
))

About

R wrapper for Halo 5 and Halo Wars 2 public API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages