new h5/metadata()
Creates a metadata object
Members
-
_http
-
Initializes a new HttpWrapper with API Key
Methods
-
campaignMissions()
-
Returns Campaign Missions https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Campaign-Missions?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.campaignMissions().then( (missions) => { //Do code here });
-
commendations()
-
Returns Commendations https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Commendations?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.commendations().then( (commendations) => { //Do code here });
-
csrDesignations()
-
Returns CSR Designations https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-CSR-Designations?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.csrDesignations().then( (designations) => { //Do code here });
-
enemies()
-
Returns Enemies https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Enemies?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.enemies().then( (enemies) => { //Do code here });
-
flexibleStats()
-
Returns Flexible Stats https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Flexible-Stats?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.flexibleStats().then( (stats) => { //Do code here });
-
gameBaseVariants()
-
Returns Game Base Variants https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Game-Base-Variants?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.gameBaseVariants().then( (variants) => { //Do code here });
-
gameVariants()
-
Returns Game Variants https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Game-Variant?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.gameVariants().then( (variants) => { //Do code here });
-
impulses()
-
Returns Impulses https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Impulses?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.impulses().then( (impulses) => { //Do code here });
-
maps()
-
Returns Maps https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Maps?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.maps().then( (maps) => { //Do code here });
-
mapVariant()
-
Returns Map Variant https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Map-Variant?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.mapVariant().then( (variant) => { //Do code here });
-
medals()
-
Returns Medals https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Medals?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.medals().then( (medals) => { //Do code here });
-
playlists()
-
Returns Playlists https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Playlists?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.playlists().then( (playlists) => { //Do code here });
-
requisition(id)
-
Returns Requisition https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Requisition?
Parameters:
Name Type Description id
string ID of Requisition Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.requisition().then( (requisition) => { //Do code here });
-
requisitionPack(id)
-
Returns Requisition Pack https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Requisition-Pack?
Parameters:
Name Type Description id
string ID of Requisition Pack Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.requisitionPack().then( (pack) => { //Do code here });
-
seasons()
-
Returns Seasons https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Seasons?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.seasons().then( (seasons) => { //Do code here });
-
skulls()
-
Returns Skulls https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Skulls?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.skulls().then( (skulls) => { //Do code here });
-
spartanRanks()
-
Returns Spartan Ranks https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Spartan-Ranks?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.spartanRanks().then( (ranks) => { //Do code here });
-
teamColors()
-
Returns Team Colors https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Team-Colors?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.teamColors().then( (colors) => { //Do code here });
-
vehicles()
-
Returns Vehicles https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Vehicles?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.vehicles().then( (vehicles) => { //Do code here });
-
weapons()
-
Returns Weapons https://developer.haloapi.com/docs/services/58ace18c21091812784ce8c5/operations/Halo-5-Weapons?
Returns:
Promise of JSON from API- Type
- Promise
Example
halo.h5.metadata.weapons().then( (weapons) => { //Do code here });