Class: hw2/metadata

hw2/metadata


new hw2/metadata()

Creates a metadata object

Members


_http

Initializes a new HttpWrapper with API Key

Methods


campaignLevels()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.campaignLevels().then( (levels) => {
  //Do code here
});

campaignLogs()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.campaignLogs().then( (logs) => {
  //Do code here
});

cardKeywords()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.cardKeywords().then( (keywords) => {
  //Do code here
});

cards()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.cards().then( (cards) => {
  //Do code here
});

csrDesignations()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.csrDesignations().then( (designations) => {
  //Do code here
});

difficulties()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.difficulties().then( (difficulties) => {
  //Do code here
});

gameObjectCategories()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.gameObjectCategories().then( (categories) => {
  //Do code here
});

gameObjects()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.gameObjects().then( (objs) => {
  //Do code here
});

leaderPowers()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.leaderPowers().then( (powers) => {
  //Do code here
});

leaders()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.leaders().then( (leaders) => {
  //Do code here
});

maps()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.maps().then( (maps) => {
  //Do code here
});

packs()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.packs().then( (packs) => {
  //Do code here
});

playlists()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.playlists().then( (playlists) => {
  //Do code here
});

seasons()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.seasons().then( (seasons) => {
  //Do code here
});

spartanRanks()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.spartanRanks().then( (ranks) => {
  //Do code here
});

techs()

Returns:
Promise of JSON from API
Type
Promise
Example
halo.hw2.metadata.techs().then( (techs) => {
  //Do code here
});