Halo Public API (MetaData)

CSRDesignations

cSRDesignation

Halo Wars 2 - CSR Designations


/hw2/csr-designations

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/csr-designations?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CSRDesignationsApi;

import java.io.File;
import java.util.*;

public class CSRDesignationsApiExample {

    public static void main(String[] args) {
        
        CSRDesignationsApi apiInstance = new CSRDesignationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_2 result = apiInstance.cSRDesignation(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CSRDesignationsApi#cSRDesignation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CSRDesignationsApi;

public class CSRDesignationsApiExample {

    public static void main(String[] args) {
        CSRDesignationsApi apiInstance = new CSRDesignationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_2 result = apiInstance.cSRDesignation(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CSRDesignationsApi#cSRDesignation");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CSRDesignationsApi *apiInstance = [[CSRDesignationsApi alloc] init];

// Halo Wars 2 - CSR Designations
[apiInstance cSRDesignationWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CSRDesignationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cSRDesignation(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cSRDesignationExample
    {
        public void main()
        {
            
            var apiInstance = new CSRDesignationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - CSR Designations
                inline_response_200_2 result = apiInstance.cSRDesignation(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CSRDesignationsApi.cSRDesignation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CSRDesignationsApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->cSRDesignation($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CSRDesignationsApi->cSRDesignation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CSRDesignationsApi;

my $api_instance = WWW::SwaggerClient::CSRDesignationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->cSRDesignation(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CSRDesignationsApi->cSRDesignation: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CSRDesignationsApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - CSR Designations
    api_response = api_instance.c_sr_designation(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CSRDesignationsApi->cSRDesignation: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


cSRDesignations

Halo 5 - CSR Designations


/h5/metadata/csr-designations

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/csr-designations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CSRDesignationsApi;

import java.io.File;
import java.util.*;

public class CSRDesignationsApiExample {

    public static void main(String[] args) {
        
        CSRDesignationsApi apiInstance = new CSRDesignationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_2 result = apiInstance.cSRDesignations(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CSRDesignationsApi#cSRDesignations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CSRDesignationsApi;

public class CSRDesignationsApiExample {

    public static void main(String[] args) {
        CSRDesignationsApi apiInstance = new CSRDesignationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_2 result = apiInstance.cSRDesignations(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CSRDesignationsApi#cSRDesignations");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CSRDesignationsApi *apiInstance = [[CSRDesignationsApi alloc] init];

// Halo 5 - CSR Designations
[apiInstance cSRDesignationsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CSRDesignationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cSRDesignations(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cSRDesignationsExample
    {
        public void main()
        {
            
            var apiInstance = new CSRDesignationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - CSR Designations
                inline_response_200_2 result = apiInstance.cSRDesignations(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CSRDesignationsApi.cSRDesignations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CSRDesignationsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->cSRDesignations($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CSRDesignationsApi->cSRDesignations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CSRDesignationsApi;

my $api_instance = WWW::SwaggerClient::CSRDesignationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->cSRDesignations(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CSRDesignationsApi->cSRDesignations: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CSRDesignationsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - CSR Designations
    api_response = api_instance.c_sr_designations(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CSRDesignationsApi->cSRDesignations: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


CampaignLevels

campaignLevels

Halo Wars 2 - Campaign Levels


/hw2/campaign-levels

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/campaign-levels?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CampaignLevelsApi;

import java.io.File;
import java.util.*;

public class CampaignLevelsApiExample {

    public static void main(String[] args) {
        
        CampaignLevelsApi apiInstance = new CampaignLevelsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.campaignLevels(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignLevelsApi#campaignLevels");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CampaignLevelsApi;

public class CampaignLevelsApiExample {

    public static void main(String[] args) {
        CampaignLevelsApi apiInstance = new CampaignLevelsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.campaignLevels(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignLevelsApi#campaignLevels");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CampaignLevelsApi *apiInstance = [[CampaignLevelsApi alloc] init];

// Halo Wars 2 - Campaign Levels
[apiInstance campaignLevelsWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CampaignLevelsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.campaignLevels(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class campaignLevelsExample
    {
        public void main()
        {
            
            var apiInstance = new CampaignLevelsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Campaign Levels
                inline_response_200 result = apiInstance.campaignLevels(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CampaignLevelsApi.campaignLevels: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CampaignLevelsApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->campaignLevels($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CampaignLevelsApi->campaignLevels: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CampaignLevelsApi;

my $api_instance = WWW::SwaggerClient::CampaignLevelsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->campaignLevels(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CampaignLevelsApi->campaignLevels: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CampaignLevelsApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Campaign Levels
    api_response = api_instance.campaign_levels(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CampaignLevelsApi->campaignLevels: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


CampaignLogs

campaignLogs

Halo Wars 2 - Campaign Logs


/hw2/campaign-logs

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/campaign-logs?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CampaignLogsApi;

import java.io.File;
import java.util.*;

public class CampaignLogsApiExample {

    public static void main(String[] args) {
        
        CampaignLogsApi apiInstance = new CampaignLogsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        try {
            inline_response_200 result = apiInstance.campaignLogs(apiecoKey, startAt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignLogsApi#campaignLogs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CampaignLogsApi;

public class CampaignLogsApiExample {

    public static void main(String[] args) {
        CampaignLogsApi apiInstance = new CampaignLogsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        try {
            inline_response_200 result = apiInstance.campaignLogs(apiecoKey, startAt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignLogsApi#campaignLogs");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)

CampaignLogsApi *apiInstance = [[CampaignLogsApi alloc] init];

// Halo Wars 2 - Campaign Logs
[apiInstance campaignLogsWith:apiecoKey
    startAt:startAt
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CampaignLogsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14 // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.campaignLogs(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class campaignLogsExample
    {
        public void main()
        {
            
            var apiInstance = new CampaignLogsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 

            try
            {
                // Halo Wars 2 - Campaign Logs
                inline_response_200 result = apiInstance.campaignLogs(apiecoKey, startAt);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CampaignLogsApi.campaignLogs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CampaignLogsApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

try {
    $result = $api_instance->campaignLogs($apiecoKey, $startAt);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CampaignLogsApi->campaignLogs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CampaignLogsApi;

my $api_instance = WWW::SwaggerClient::CampaignLogsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

eval { 
    my $result = $api_instance->campaignLogs(apiecoKey => $apiecoKey, startAt => $startAt);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CampaignLogsApi->campaignLogs: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CampaignLogsApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)

try: 
    # Halo Wars 2 - Campaign Logs
    api_response = api_instance.campaign_logs(apiecoKey, startAt=startAt)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CampaignLogsApi->campaignLogs: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


CampaignMissions

campaignMissions

Halo 5 - Campaign Missions


/h5/metadata/campaign-missions

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/campaign-missions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CampaignMissionsApi;

import java.io.File;
import java.util.*;

public class CampaignMissionsApiExample {

    public static void main(String[] args) {
        
        CampaignMissionsApi apiInstance = new CampaignMissionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_1 result = apiInstance.campaignMissions(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignMissionsApi#campaignMissions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CampaignMissionsApi;

public class CampaignMissionsApiExample {

    public static void main(String[] args) {
        CampaignMissionsApi apiInstance = new CampaignMissionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_1 result = apiInstance.campaignMissions(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignMissionsApi#campaignMissions");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CampaignMissionsApi *apiInstance = [[CampaignMissionsApi alloc] init];

// Halo 5 - Campaign Missions
[apiInstance campaignMissionsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CampaignMissionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.campaignMissions(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class campaignMissionsExample
    {
        public void main()
        {
            
            var apiInstance = new CampaignMissionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Campaign Missions
                inline_response_200_1 result = apiInstance.campaignMissions(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CampaignMissionsApi.campaignMissions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CampaignMissionsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->campaignMissions($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CampaignMissionsApi->campaignMissions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CampaignMissionsApi;

my $api_instance = WWW::SwaggerClient::CampaignMissionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->campaignMissions(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CampaignMissionsApi->campaignMissions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CampaignMissionsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Campaign Missions
    api_response = api_instance.campaign_missions(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CampaignMissionsApi->campaignMissions: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - The response body will contain the requested Metadata.


CardKeywords

cardKeywords

Halo Wars 2 - Card Keywords


/hw2/card-keywords

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/card-keywords?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardKeywordsApi;

import java.io.File;
import java.util.*;

public class CardKeywordsApiExample {

    public static void main(String[] args) {
        
        CardKeywordsApi apiInstance = new CardKeywordsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_18 result = apiInstance.cardKeywords(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardKeywordsApi#cardKeywords");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardKeywordsApi;

public class CardKeywordsApiExample {

    public static void main(String[] args) {
        CardKeywordsApi apiInstance = new CardKeywordsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_18 result = apiInstance.cardKeywords(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardKeywordsApi#cardKeywords");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CardKeywordsApi *apiInstance = [[CardKeywordsApi alloc] init];

// Halo Wars 2 - Card Keywords
[apiInstance cardKeywordsWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_18 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CardKeywordsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cardKeywords(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cardKeywordsExample
    {
        public void main()
        {
            
            var apiInstance = new CardKeywordsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Card Keywords
                inline_response_200_18 result = apiInstance.cardKeywords(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardKeywordsApi.cardKeywords: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CardKeywordsApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->cardKeywords($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CardKeywordsApi->cardKeywords: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CardKeywordsApi;

my $api_instance = WWW::SwaggerClient::CardKeywordsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->cardKeywords(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardKeywordsApi->cardKeywords: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CardKeywordsApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Card Keywords
    api_response = api_instance.card_keywords(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardKeywordsApi->cardKeywords: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


Cards

cards

Halo Wars 2 - Cards


/hw2/cards

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/cards?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

import java.io.File;
import java.util.*;

public class CardsApiExample {

    public static void main(String[] args) {
        
        CardsApi apiInstance = new CardsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.cards(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#cards");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.cards(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#cards");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CardsApi *apiInstance = [[CardsApi alloc] init];

// Halo Wars 2 - Cards
[apiInstance cardsWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CardsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cards(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cardsExample
    {
        public void main()
        {
            
            var apiInstance = new CardsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Cards
                inline_response_200_19 result = apiInstance.cards(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.cards: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CardsApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->cards($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CardsApi->cards: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CardsApi;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->cards(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->cards: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CardsApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Cards
    api_response = api_instance.cards(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->cards: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


Commendations

commendations

Halo 5 - Commendations


/h5/metadata/commendations

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/commendations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CommendationsApi;

import java.io.File;
import java.util.*;

public class CommendationsApiExample {

    public static void main(String[] args) {
        
        CommendationsApi apiInstance = new CommendationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.commendations(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommendationsApi#commendations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CommendationsApi;

public class CommendationsApiExample {

    public static void main(String[] args) {
        CommendationsApi apiInstance = new CommendationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.commendations(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommendationsApi#commendations");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CommendationsApi *apiInstance = [[CommendationsApi alloc] init];

// Halo 5 - Commendations
[apiInstance commendationsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CommendationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.commendations(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class commendationsExample
    {
        public void main()
        {
            
            var apiInstance = new CommendationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Commendations
                inline_response_200 result = apiInstance.commendations(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CommendationsApi.commendations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CommendationsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->commendations($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CommendationsApi->commendations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CommendationsApi;

my $api_instance = WWW::SwaggerClient::CommendationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->commendations(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CommendationsApi->commendations: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CommendationsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Commendations
    api_response = api_instance.commendations(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CommendationsApi->commendations: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - The response body will contain the requested Metadata.


CompanyCommendations

companyCommendations

Halo 5 - Company Commendations


/h5/metadata/company-commendations

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/company-commendations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CompanyCommendationsApi;

import java.io.File;
import java.util.*;

public class CompanyCommendationsApiExample {

    public static void main(String[] args) {
        
        CompanyCommendationsApi apiInstance = new CompanyCommendationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.companyCommendations(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CompanyCommendationsApi#companyCommendations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CompanyCommendationsApi;

public class CompanyCommendationsApiExample {

    public static void main(String[] args) {
        CompanyCommendationsApi apiInstance = new CompanyCommendationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.companyCommendations(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CompanyCommendationsApi#companyCommendations");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

CompanyCommendationsApi *apiInstance = [[CompanyCommendationsApi alloc] init];

// Halo 5 - Company Commendations
[apiInstance companyCommendationsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.CompanyCommendationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.companyCommendations(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class companyCommendationsExample
    {
        public void main()
        {
            
            var apiInstance = new CompanyCommendationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Company Commendations
                inline_response_200 result = apiInstance.companyCommendations(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CompanyCommendationsApi.companyCommendations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CompanyCommendationsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->companyCommendations($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CompanyCommendationsApi->companyCommendations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CompanyCommendationsApi;

my $api_instance = WWW::SwaggerClient::CompanyCommendationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->companyCommendations(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CompanyCommendationsApi->companyCommendations: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CompanyCommendationsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Company Commendations
    api_response = api_instance.company_commendations(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CompanyCommendationsApi->companyCommendations: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


Difficulties

difficulties

Halo Wars 2 - Difficulties


/hw2/difficulties

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/difficulties?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DifficultiesApi;

import java.io.File;
import java.util.*;

public class DifficultiesApiExample {

    public static void main(String[] args) {
        
        DifficultiesApi apiInstance = new DifficultiesApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.difficulties(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DifficultiesApi#difficulties");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DifficultiesApi;

public class DifficultiesApiExample {

    public static void main(String[] args) {
        DifficultiesApi apiInstance = new DifficultiesApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.difficulties(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DifficultiesApi#difficulties");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

DifficultiesApi *apiInstance = [[DifficultiesApi alloc] init];

// Halo Wars 2 - Difficulties
[apiInstance difficultiesWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.DifficultiesApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.difficulties(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class difficultiesExample
    {
        public void main()
        {
            
            var apiInstance = new DifficultiesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Difficulties
                inline_response_200_19 result = apiInstance.difficulties(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DifficultiesApi.difficulties: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DifficultiesApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->difficulties($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DifficultiesApi->difficulties: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DifficultiesApi;

my $api_instance = WWW::SwaggerClient::DifficultiesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->difficulties(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DifficultiesApi->difficulties: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DifficultiesApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Difficulties
    api_response = api_instance.difficulties(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DifficultiesApi->difficulties: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


Enemies

enemies

Halo 5 - Enemies


/h5/metadata/enemies

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/enemies"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EnemiesApi;

import java.io.File;
import java.util.*;

public class EnemiesApiExample {

    public static void main(String[] args) {
        
        EnemiesApi apiInstance = new EnemiesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_3 result = apiInstance.enemies(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EnemiesApi#enemies");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EnemiesApi;

public class EnemiesApiExample {

    public static void main(String[] args) {
        EnemiesApi apiInstance = new EnemiesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_3 result = apiInstance.enemies(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EnemiesApi#enemies");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

EnemiesApi *apiInstance = [[EnemiesApi alloc] init];

// Halo 5 - Enemies
[apiInstance enemiesWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.EnemiesApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.enemies(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class enemiesExample
    {
        public void main()
        {
            
            var apiInstance = new EnemiesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Enemies
                inline_response_200_3 result = apiInstance.enemies(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EnemiesApi.enemies: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EnemiesApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->enemies($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EnemiesApi->enemies: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EnemiesApi;

my $api_instance = WWW::SwaggerClient::EnemiesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->enemies(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EnemiesApi->enemies: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.EnemiesApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Enemies
    api_response = api_instance.enemies(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EnemiesApi->enemies: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


FlexibleStats

flexibleStats

Halo 5 - Flexible Stats


/h5/metadata/flexible-stats

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/flexible-stats"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlexibleStatsApi;

import java.io.File;
import java.util.*;

public class FlexibleStatsApiExample {

    public static void main(String[] args) {
        
        FlexibleStatsApi apiInstance = new FlexibleStatsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_4 result = apiInstance.flexibleStats(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlexibleStatsApi#flexibleStats");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlexibleStatsApi;

public class FlexibleStatsApiExample {

    public static void main(String[] args) {
        FlexibleStatsApi apiInstance = new FlexibleStatsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_4 result = apiInstance.flexibleStats(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlexibleStatsApi#flexibleStats");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

FlexibleStatsApi *apiInstance = [[FlexibleStatsApi alloc] init];

// Halo 5 - Flexible Stats
[apiInstance flexibleStatsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.FlexibleStatsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.flexibleStats(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class flexibleStatsExample
    {
        public void main()
        {
            
            var apiInstance = new FlexibleStatsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Flexible Stats
                inline_response_200_4 result = apiInstance.flexibleStats(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlexibleStatsApi.flexibleStats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FlexibleStatsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->flexibleStats($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FlexibleStatsApi->flexibleStats: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FlexibleStatsApi;

my $api_instance = WWW::SwaggerClient::FlexibleStatsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->flexibleStats(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlexibleStatsApi->flexibleStats: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.FlexibleStatsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Flexible Stats
    api_response = api_instance.flexible_stats(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlexibleStatsApi->flexibleStats: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


GameBaseVariants

gameBaseVariants

Halo 5 - Game Base Variants


/h5/metadata/game-base-variants

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/game-base-variants"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GameBaseVariantsApi;

import java.io.File;
import java.util.*;

public class GameBaseVariantsApiExample {

    public static void main(String[] args) {
        
        GameBaseVariantsApi apiInstance = new GameBaseVariantsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_5 result = apiInstance.gameBaseVariants(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameBaseVariantsApi#gameBaseVariants");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GameBaseVariantsApi;

public class GameBaseVariantsApiExample {

    public static void main(String[] args) {
        GameBaseVariantsApi apiInstance = new GameBaseVariantsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_5 result = apiInstance.gameBaseVariants(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameBaseVariantsApi#gameBaseVariants");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

GameBaseVariantsApi *apiInstance = [[GameBaseVariantsApi alloc] init];

// Halo 5 - Game Base Variants
[apiInstance gameBaseVariantsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.GameBaseVariantsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.gameBaseVariants(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class gameBaseVariantsExample
    {
        public void main()
        {
            
            var apiInstance = new GameBaseVariantsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Game Base Variants
                inline_response_200_5 result = apiInstance.gameBaseVariants(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GameBaseVariantsApi.gameBaseVariants: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GameBaseVariantsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->gameBaseVariants($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GameBaseVariantsApi->gameBaseVariants: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GameBaseVariantsApi;

my $api_instance = WWW::SwaggerClient::GameBaseVariantsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->gameBaseVariants(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling GameBaseVariantsApi->gameBaseVariants: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GameBaseVariantsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Game Base Variants
    api_response = api_instance.game_base_variants(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GameBaseVariantsApi->gameBaseVariants: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


GameObjectCategories

gameObjectCategories

Halo Wars 2 - Game Object Categories


/hw2/game-object-categories

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/game-object-categories?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GameObjectCategoriesApi;

import java.io.File;
import java.util.*;

public class GameObjectCategoriesApiExample {

    public static void main(String[] args) {
        
        GameObjectCategoriesApi apiInstance = new GameObjectCategoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        try {
            inline_response_200_19 result = apiInstance.gameObjectCategories(apiecoKey, startAt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameObjectCategoriesApi#gameObjectCategories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GameObjectCategoriesApi;

public class GameObjectCategoriesApiExample {

    public static void main(String[] args) {
        GameObjectCategoriesApi apiInstance = new GameObjectCategoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        try {
            inline_response_200_19 result = apiInstance.gameObjectCategories(apiecoKey, startAt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameObjectCategoriesApi#gameObjectCategories");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)

GameObjectCategoriesApi *apiInstance = [[GameObjectCategoriesApi alloc] init];

// Halo Wars 2 - Game Object Categories
[apiInstance gameObjectCategoriesWith:apiecoKey
    startAt:startAt
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.GameObjectCategoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14 // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.gameObjectCategories(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class gameObjectCategoriesExample
    {
        public void main()
        {
            
            var apiInstance = new GameObjectCategoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 

            try
            {
                // Halo Wars 2 - Game Object Categories
                inline_response_200_19 result = apiInstance.gameObjectCategories(apiecoKey, startAt);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GameObjectCategoriesApi.gameObjectCategories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GameObjectCategoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

try {
    $result = $api_instance->gameObjectCategories($apiecoKey, $startAt);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GameObjectCategoriesApi->gameObjectCategories: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GameObjectCategoriesApi;

my $api_instance = WWW::SwaggerClient::GameObjectCategoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

eval { 
    my $result = $api_instance->gameObjectCategories(apiecoKey => $apiecoKey, startAt => $startAt);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling GameObjectCategoriesApi->gameObjectCategories: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GameObjectCategoriesApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)

try: 
    # Halo Wars 2 - Game Object Categories
    api_response = api_instance.game_object_categories(apiecoKey, startAt=startAt)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GameObjectCategoriesApi->gameObjectCategories: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


GameObjects

gameObjects

Halo Wars 2 - Game Objects


/hw2/game-objects

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/game-objects?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GameObjectsApi;

import java.io.File;
import java.util.*;

public class GameObjectsApiExample {

    public static void main(String[] args) {
        
        GameObjectsApi apiInstance = new GameObjectsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_20 result = apiInstance.gameObjects(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameObjectsApi#gameObjects");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GameObjectsApi;

public class GameObjectsApiExample {

    public static void main(String[] args) {
        GameObjectsApi apiInstance = new GameObjectsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_20 result = apiInstance.gameObjects(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameObjectsApi#gameObjects");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

GameObjectsApi *apiInstance = [[GameObjectsApi alloc] init];

// Halo Wars 2 - Game Objects
[apiInstance gameObjectsWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_20 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.GameObjectsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.gameObjects(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class gameObjectsExample
    {
        public void main()
        {
            
            var apiInstance = new GameObjectsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Game Objects
                inline_response_200_20 result = apiInstance.gameObjects(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GameObjectsApi.gameObjects: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GameObjectsApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->gameObjects($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GameObjectsApi->gameObjects: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GameObjectsApi;

my $api_instance = WWW::SwaggerClient::GameObjectsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->gameObjects(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling GameObjectsApi->gameObjects: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GameObjectsApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Game Objects
    api_response = api_instance.game_objects(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GameObjectsApi->gameObjects: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


GameVariants

gameVariant

Halo 5 - Game Variant


/h5/metadata/game-variants/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/game-variants/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GameVariantsApi;

import java.io.File;
import java.util.*;

public class GameVariantsApiExample {

    public static void main(String[] args) {
        
        GameVariantsApi apiInstance = new GameVariantsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Game Variant.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_6 result = apiInstance.gameVariant(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameVariantsApi#gameVariant");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GameVariantsApi;

public class GameVariantsApiExample {

    public static void main(String[] args) {
        GameVariantsApi apiInstance = new GameVariantsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Game Variant.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_6 result = apiInstance.gameVariant(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GameVariantsApi#gameVariant");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // An ID that uniquely identifies a Game Variant.
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

GameVariantsApi *apiInstance = [[GameVariantsApi alloc] init];

// Halo 5 - Game Variant
[apiInstance gameVariantWith:apiecoKey
    id:id
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.GameVariantsApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} An ID that uniquely identifies a Game Variant.

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.gameVariant(apiecoKey, id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class gameVariantExample
    {
        public void main()
        {
            
            var apiInstance = new GameVariantsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | An ID that uniquely identifies a Game Variant.
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Game Variant
                inline_response_200_6 result = apiInstance.gameVariant(apiecoKey, id, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GameVariantsApi.gameVariant: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GameVariantsApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | An ID that uniquely identifies a Game Variant.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->gameVariant($apiecoKey, $id, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GameVariantsApi->gameVariant: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::GameVariantsApi;

my $api_instance = WWW::SwaggerClient::GameVariantsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | An ID that uniquely identifies a Game Variant.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->gameVariant(apiecoKey => $apiecoKey, id => $id, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling GameVariantsApi->gameVariant: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.GameVariantsApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | An ID that uniquely identifies a Game Variant.
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Game Variant
    api_response = api_instance.game_variant(apiecoKey, id, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GameVariantsApi->gameVariant: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
An ID that uniquely identifies a Game Variant.
Required
Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull

Status: 404 - Specified Game Variant was not found.


Impulses

impulses

Halo 5 - Impulses


/h5/metadata/impulses

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/impulses"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ImpulsesApi;

import java.io.File;
import java.util.*;

public class ImpulsesApiExample {

    public static void main(String[] args) {
        
        ImpulsesApi apiInstance = new ImpulsesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_7 result = apiInstance.impulses(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImpulsesApi#impulses");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ImpulsesApi;

public class ImpulsesApiExample {

    public static void main(String[] args) {
        ImpulsesApi apiInstance = new ImpulsesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_7 result = apiInstance.impulses(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ImpulsesApi#impulses");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

ImpulsesApi *apiInstance = [[ImpulsesApi alloc] init];

// Halo 5 - Impulses
[apiInstance impulsesWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.ImpulsesApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.impulses(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class impulsesExample
    {
        public void main()
        {
            
            var apiInstance = new ImpulsesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Impulses
                inline_response_200_7 result = apiInstance.impulses(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ImpulsesApi.impulses: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\ImpulsesApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->impulses($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ImpulsesApi->impulses: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ImpulsesApi;

my $api_instance = WWW::SwaggerClient::ImpulsesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->impulses(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ImpulsesApi->impulses: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ImpulsesApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Impulses
    api_response = api_instance.impulses(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ImpulsesApi->impulses: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


LeaderPowers

leaderPowers

Halo Wars 2 - Leader Powers


/hw2/leader-powers

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/leader-powers?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LeaderPowersApi;

import java.io.File;
import java.util.*;

public class LeaderPowersApiExample {

    public static void main(String[] args) {
        
        LeaderPowersApi apiInstance = new LeaderPowersApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.leaderPowers(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LeaderPowersApi#leaderPowers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LeaderPowersApi;

public class LeaderPowersApiExample {

    public static void main(String[] args) {
        LeaderPowersApi apiInstance = new LeaderPowersApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.leaderPowers(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LeaderPowersApi#leaderPowers");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

LeaderPowersApi *apiInstance = [[LeaderPowersApi alloc] init];

// Halo Wars 2 - Leader Powers
[apiInstance leaderPowersWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.LeaderPowersApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.leaderPowers(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class leaderPowersExample
    {
        public void main()
        {
            
            var apiInstance = new LeaderPowersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Leader Powers
                inline_response_200_19 result = apiInstance.leaderPowers(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LeaderPowersApi.leaderPowers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LeaderPowersApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->leaderPowers($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LeaderPowersApi->leaderPowers: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LeaderPowersApi;

my $api_instance = WWW::SwaggerClient::LeaderPowersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->leaderPowers(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LeaderPowersApi->leaderPowers: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LeaderPowersApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Leader Powers
    api_response = api_instance.leader_powers(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LeaderPowersApi->leaderPowers: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


Leaders

leaders

Halo Wars 2 - Leaders


/hw2/leaders

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/leaders?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LeadersApi;

import java.io.File;
import java.util.*;

public class LeadersApiExample {

    public static void main(String[] args) {
        
        LeadersApi apiInstance = new LeadersApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_21 result = apiInstance.leaders(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LeadersApi#leaders");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LeadersApi;

public class LeadersApiExample {

    public static void main(String[] args) {
        LeadersApi apiInstance = new LeadersApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_21 result = apiInstance.leaders(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LeadersApi#leaders");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

LeadersApi *apiInstance = [[LeadersApi alloc] init];

// Halo Wars 2 - Leaders
[apiInstance leadersWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_21 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.LeadersApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.leaders(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class leadersExample
    {
        public void main()
        {
            
            var apiInstance = new LeadersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Leaders
                inline_response_200_21 result = apiInstance.leaders(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LeadersApi.leaders: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\LeadersApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->leaders($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LeadersApi->leaders: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LeadersApi;

my $api_instance = WWW::SwaggerClient::LeadersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->leaders(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LeadersApi->leaders: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LeadersApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Leaders
    api_response = api_instance.leaders(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LeadersApi->leaders: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


MapVariant

mapVariant

Halo 5 - Map Variant


/h5/metadata/map-variants/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/map-variants/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapVariantApi;

import java.io.File;
import java.util.*;

public class MapVariantApiExample {

    public static void main(String[] args) {
        
        MapVariantApi apiInstance = new MapVariantApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Map Variant.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_8 result = apiInstance.mapVariant(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapVariantApi#mapVariant");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapVariantApi;

public class MapVariantApiExample {

    public static void main(String[] args) {
        MapVariantApi apiInstance = new MapVariantApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Map Variant.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_8 result = apiInstance.mapVariant(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapVariantApi#mapVariant");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // An ID that uniquely identifies a Map Variant.
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

MapVariantApi *apiInstance = [[MapVariantApi alloc] init];

// Halo 5 - Map Variant
[apiInstance mapVariantWith:apiecoKey
    id:id
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.MapVariantApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} An ID that uniquely identifies a Map Variant.

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.mapVariant(apiecoKey, id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class mapVariantExample
    {
        public void main()
        {
            
            var apiInstance = new MapVariantApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | An ID that uniquely identifies a Map Variant.
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Map Variant
                inline_response_200_8 result = apiInstance.mapVariant(apiecoKey, id, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapVariantApi.mapVariant: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapVariantApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | An ID that uniquely identifies a Map Variant.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->mapVariant($apiecoKey, $id, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MapVariantApi->mapVariant: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MapVariantApi;

my $api_instance = WWW::SwaggerClient::MapVariantApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | An ID that uniquely identifies a Map Variant.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->mapVariant(apiecoKey => $apiecoKey, id => $id, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MapVariantApi->mapVariant: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MapVariantApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | An ID that uniquely identifies a Map Variant.
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Map Variant
    api_response = api_instance.map_variant(apiecoKey, id, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MapVariantApi->mapVariant: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
An ID that uniquely identifies a Map Variant.
Required
Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull

Status: 404 - Specified Map Variant was not found.


Maps

maps

Halo 5 - Maps


/h5/metadata/maps

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/maps"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MapsApi;

import java.io.File;
import java.util.*;

public class MapsApiExample {

    public static void main(String[] args) {
        
        MapsApi apiInstance = new MapsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_9 result = apiInstance.maps(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#maps");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MapsApi;

public class MapsApiExample {

    public static void main(String[] args) {
        MapsApi apiInstance = new MapsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_9 result = apiInstance.maps(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MapsApi#maps");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

MapsApi *apiInstance = [[MapsApi alloc] init];

// Halo 5 - Maps
[apiInstance mapsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.MapsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.maps(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class mapsExample
    {
        public void main()
        {
            
            var apiInstance = new MapsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Maps
                inline_response_200_9 result = apiInstance.maps(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MapsApi.maps: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MapsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->maps($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MapsApi->maps: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MapsApi;

my $api_instance = WWW::SwaggerClient::MapsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->maps(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MapsApi->maps: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MapsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Maps
    api_response = api_instance.maps(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MapsApi->maps: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


Medals

medals

Halo 5 - Medals


/h5/metadata/medals

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/medals"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MedalsApi;

import java.io.File;
import java.util.*;

public class MedalsApiExample {

    public static void main(String[] args) {
        
        MedalsApi apiInstance = new MedalsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_10 result = apiInstance.medals(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MedalsApi#medals");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MedalsApi;

public class MedalsApiExample {

    public static void main(String[] args) {
        MedalsApi apiInstance = new MedalsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_10 result = apiInstance.medals(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MedalsApi#medals");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

MedalsApi *apiInstance = [[MedalsApi alloc] init];

// Halo 5 - Medals
[apiInstance medalsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.MedalsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.medals(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class medalsExample
    {
        public void main()
        {
            
            var apiInstance = new MedalsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Medals
                inline_response_200_10 result = apiInstance.medals(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MedalsApi.medals: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MedalsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->medals($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MedalsApi->medals: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MedalsApi;

my $api_instance = WWW::SwaggerClient::MedalsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->medals(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MedalsApi->medals: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MedalsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Medals
    api_response = api_instance.medals(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MedalsApi->medals: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


Packs

packs

Halo Wars 2 - Packs


/hw2/packs

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/packs?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PacksApi;

import java.io.File;
import java.util.*;

public class PacksApiExample {

    public static void main(String[] args) {
        
        PacksApi apiInstance = new PacksApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.packs(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PacksApi#packs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PacksApi;

public class PacksApiExample {

    public static void main(String[] args) {
        PacksApi apiInstance = new PacksApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_19 result = apiInstance.packs(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PacksApi#packs");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

PacksApi *apiInstance = [[PacksApi alloc] init];

// Halo Wars 2 - Packs
[apiInstance packsWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.PacksApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.packs(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class packsExample
    {
        public void main()
        {
            
            var apiInstance = new PacksApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Packs
                inline_response_200_19 result = apiInstance.packs(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PacksApi.packs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PacksApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->packs($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PacksApi->packs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PacksApi;

my $api_instance = WWW::SwaggerClient::PacksApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->packs(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PacksApi->packs: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PacksApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Packs
    api_response = api_instance.packs(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PacksApi->packs: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


Playlists

laylists

Halo 5 - Playlists


/h5/metadata/playlists

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/playlists"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlaylistsApi;

import java.io.File;
import java.util.*;

public class PlaylistsApiExample {

    public static void main(String[] args) {
        
        PlaylistsApi apiInstance = new PlaylistsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_11 result = apiInstance.laylists(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlaylistsApi#laylists");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlaylistsApi;

public class PlaylistsApiExample {

    public static void main(String[] args) {
        PlaylistsApi apiInstance = new PlaylistsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_11 result = apiInstance.laylists(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlaylistsApi#laylists");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

PlaylistsApi *apiInstance = [[PlaylistsApi alloc] init];

// Halo 5 - Playlists
[apiInstance laylistsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.PlaylistsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.laylists(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class laylistsExample
    {
        public void main()
        {
            
            var apiInstance = new PlaylistsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Playlists
                inline_response_200_11 result = apiInstance.laylists(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlaylistsApi.laylists: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlaylistsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->laylists($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PlaylistsApi->laylists: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PlaylistsApi;

my $api_instance = WWW::SwaggerClient::PlaylistsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->laylists(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlaylistsApi->laylists: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PlaylistsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Playlists
    api_response = api_instance.laylists(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlaylistsApi->laylists: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


playlists

Halo Wars 2 - Playlists


/hw2/playlists

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/hw2/playlists?startAt="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PlaylistsApi;

import java.io.File;
import java.util.*;

public class PlaylistsApiExample {

    public static void main(String[] args) {
        
        PlaylistsApi apiInstance = new PlaylistsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_11 result = apiInstance.playlists(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlaylistsApi#playlists");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PlaylistsApi;

public class PlaylistsApiExample {

    public static void main(String[] args) {
        PlaylistsApi apiInstance = new PlaylistsApi();
        String apiecoKey = apiecoKey_example; // String | 
        BigDecimal startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_11 result = apiInstance.playlists(apiecoKey, startAt, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PlaylistsApi#playlists");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
BigDecimal *startAt = 8.14; // When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

PlaylistsApi *apiInstance = [[PlaylistsApi alloc] init];

// Halo Wars 2 - Playlists
[apiInstance playlistsWith:apiecoKey
    startAt:startAt
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.PlaylistsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'startAt': 8.14, // {BigDecimal} When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.playlists(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class playlistsExample
    {
        public void main()
        {
            
            var apiInstance = new PlaylistsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var startAt = 8.14;  // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional) 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo Wars 2 - Playlists
                inline_response_200_11 result = apiInstance.playlists(apiecoKey, startAt, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PlaylistsApi.playlists: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PlaylistsApi();
$apiecoKey = apiecoKey_example; // String | 
$startAt = 8.14; // BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->playlists($apiecoKey, $startAt, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PlaylistsApi->playlists: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PlaylistsApi;

my $api_instance = WWW::SwaggerClient::PlaylistsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $startAt = 8.14; # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->playlists(apiecoKey => $apiecoKey, startAt => $startAt, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PlaylistsApi->playlists: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PlaylistsApi()
apiecoKey = apiecoKey_example # String | 
startAt = 8.14 # BigDecimal | When specified, this indicates the index of the item to start at.

When omitted, 0 is assumed.

When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned. (optional)
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo Wars 2 - Playlists
    api_response = api_instance.playlists(apiecoKey, startAt=startAt, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PlaylistsApi->playlists: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.
Query parameters
Name Description
startAt
BigDecimal
When specified, this indicates the index of the item to start at. When omitted, 0 is assumed. When the value contains a non-digit or is not a multiple of 100, HTTP 400 ("Bad Request") is returned.

Responses

Status: 200 - successfull


RequisitionPacks

requisitionPack

Halo 5 - Requisition Pack


/h5/metadata/requisition-packs/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/requisition-packs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequisitionPacksApi;

import java.io.File;
import java.util.*;

public class RequisitionPacksApiExample {

    public static void main(String[] args) {
        
        RequisitionPacksApi apiInstance = new RequisitionPacksApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Requisition Pack.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_12 result = apiInstance.requisitionPack(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequisitionPacksApi#requisitionPack");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RequisitionPacksApi;

public class RequisitionPacksApiExample {

    public static void main(String[] args) {
        RequisitionPacksApi apiInstance = new RequisitionPacksApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Requisition Pack.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_12 result = apiInstance.requisitionPack(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequisitionPacksApi#requisitionPack");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // An ID that uniquely identifies a Requisition Pack.
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

RequisitionPacksApi *apiInstance = [[RequisitionPacksApi alloc] init];

// Halo 5 - Requisition Pack
[apiInstance requisitionPackWith:apiecoKey
    id:id
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.RequisitionPacksApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} An ID that uniquely identifies a Requisition Pack.

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.requisitionPack(apiecoKey, id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class requisitionPackExample
    {
        public void main()
        {
            
            var apiInstance = new RequisitionPacksApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | An ID that uniquely identifies a Requisition Pack.
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Requisition Pack
                inline_response_200_12 result = apiInstance.requisitionPack(apiecoKey, id, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RequisitionPacksApi.requisitionPack: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RequisitionPacksApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | An ID that uniquely identifies a Requisition Pack.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->requisitionPack($apiecoKey, $id, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RequisitionPacksApi->requisitionPack: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequisitionPacksApi;

my $api_instance = WWW::SwaggerClient::RequisitionPacksApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | An ID that uniquely identifies a Requisition Pack.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->requisitionPack(apiecoKey => $apiecoKey, id => $id, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RequisitionPacksApi->requisitionPack: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.RequisitionPacksApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | An ID that uniquely identifies a Requisition Pack.
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Requisition Pack
    api_response = api_instance.requisition_pack(apiecoKey, id, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RequisitionPacksApi->requisitionPack: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
An ID that uniquely identifies a Requisition Pack.
Required
Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull

Status: 404 - Specified Requisition Pack was not found.

Status: 500 - Internal Server Error


Requisitions

requisition

Halo 5 - Requisition


/h5/metadata/requisitions/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/requisitions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequisitionsApi;

import java.io.File;
import java.util.*;

public class RequisitionsApiExample {

    public static void main(String[] args) {
        
        RequisitionsApi apiInstance = new RequisitionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Requisition.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_12 result = apiInstance.requisition(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequisitionsApi#requisition");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RequisitionsApi;

public class RequisitionsApiExample {

    public static void main(String[] args) {
        RequisitionsApi apiInstance = new RequisitionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | An ID that uniquely identifies a Requisition.
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_12 result = apiInstance.requisition(apiecoKey, id, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequisitionsApi#requisition");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // An ID that uniquely identifies a Requisition.
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

RequisitionsApi *apiInstance = [[RequisitionsApi alloc] init];

// Halo 5 - Requisition
[apiInstance requisitionWith:apiecoKey
    id:id
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.RequisitionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} An ID that uniquely identifies a Requisition.

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.requisition(apiecoKey, id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class requisitionExample
    {
        public void main()
        {
            
            var apiInstance = new RequisitionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | An ID that uniquely identifies a Requisition.
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Requisition
                inline_response_200_12 result = apiInstance.requisition(apiecoKey, id, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RequisitionsApi.requisition: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RequisitionsApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | An ID that uniquely identifies a Requisition.
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->requisition($apiecoKey, $id, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RequisitionsApi->requisition: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequisitionsApi;

my $api_instance = WWW::SwaggerClient::RequisitionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | An ID that uniquely identifies a Requisition.
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->requisition(apiecoKey => $apiecoKey, id => $id, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RequisitionsApi->requisition: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.RequisitionsApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | An ID that uniquely identifies a Requisition.
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Requisition
    api_response = api_instance.requisition(apiecoKey, id, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RequisitionsApi->requisition: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
An ID that uniquely identifies a Requisition.
Required
Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull

Status: 404 - Specified Requisition was not found.


Seasons

seasons

Halo 5 - Seasons


/h5/metadata/seasons

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/seasons"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SeasonsApi;

import java.io.File;
import java.util.*;

public class SeasonsApiExample {

    public static void main(String[] args) {
        
        SeasonsApi apiInstance = new SeasonsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.seasons(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeasonsApi#seasons");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SeasonsApi;

public class SeasonsApiExample {

    public static void main(String[] args) {
        SeasonsApi apiInstance = new SeasonsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200 result = apiInstance.seasons(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SeasonsApi#seasons");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

SeasonsApi *apiInstance = [[SeasonsApi alloc] init];

// Halo 5 - Seasons
[apiInstance seasonsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.SeasonsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.seasons(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class seasonsExample
    {
        public void main()
        {
            
            var apiInstance = new SeasonsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Seasons
                inline_response_200 result = apiInstance.seasons(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SeasonsApi.seasons: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SeasonsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->seasons($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SeasonsApi->seasons: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SeasonsApi;

my $api_instance = WWW::SwaggerClient::SeasonsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->seasons(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SeasonsApi->seasons: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SeasonsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Seasons
    api_response = api_instance.seasons(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SeasonsApi->seasons: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


Skulls

skulls

Halo 5 - Skulls


/h5/metadata/skulls

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/skulls"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SkullsApi;

import java.io.File;
import java.util.*;

public class SkullsApiExample {

    public static void main(String[] args) {
        
        SkullsApi apiInstance = new SkullsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_13 result = apiInstance.skulls(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SkullsApi#skulls");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SkullsApi;

public class SkullsApiExample {

    public static void main(String[] args) {
        SkullsApi apiInstance = new SkullsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_13 result = apiInstance.skulls(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SkullsApi#skulls");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

SkullsApi *apiInstance = [[SkullsApi alloc] init];

// Halo 5 - Skulls
[apiInstance skullsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_13 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.SkullsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.skulls(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class skullsExample
    {
        public void main()
        {
            
            var apiInstance = new SkullsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Skulls
                inline_response_200_13 result = apiInstance.skulls(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SkullsApi.skulls: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SkullsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->skulls($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SkullsApi->skulls: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SkullsApi;

my $api_instance = WWW::SwaggerClient::SkullsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->skulls(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SkullsApi->skulls: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SkullsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Skulls
    api_response = api_instance.skulls(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SkullsApi->skulls: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


SpartanRanks

spartanRanks

Halo 5 - Spartan Ranks


/h5/metadata/spartan-ranks

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/spartan-ranks"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SpartanRanksApi;

import java.io.File;
import java.util.*;

public class SpartanRanksApiExample {

    public static void main(String[] args) {
        
        SpartanRanksApi apiInstance = new SpartanRanksApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_14 result = apiInstance.spartanRanks(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SpartanRanksApi#spartanRanks");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SpartanRanksApi;

public class SpartanRanksApiExample {

    public static void main(String[] args) {
        SpartanRanksApi apiInstance = new SpartanRanksApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_14 result = apiInstance.spartanRanks(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SpartanRanksApi#spartanRanks");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

SpartanRanksApi *apiInstance = [[SpartanRanksApi alloc] init];

// Halo 5 - Spartan Ranks
[apiInstance spartanRanksWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_14 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.SpartanRanksApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.spartanRanks(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class spartanRanksExample
    {
        public void main()
        {
            
            var apiInstance = new SpartanRanksApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Spartan Ranks
                inline_response_200_14 result = apiInstance.spartanRanks(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SpartanRanksApi.spartanRanks: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SpartanRanksApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->spartanRanks($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SpartanRanksApi->spartanRanks: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SpartanRanksApi;

my $api_instance = WWW::SwaggerClient::SpartanRanksApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->spartanRanks(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SpartanRanksApi->spartanRanks: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SpartanRanksApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Spartan Ranks
    api_response = api_instance.spartan_ranks(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SpartanRanksApi->spartanRanks: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


TeamColors

teamColors

Halo 5 - Team Colors


/h5/metadata/team-colors

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/team-colors"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TeamColorsApi;

import java.io.File;
import java.util.*;

public class TeamColorsApiExample {

    public static void main(String[] args) {
        
        TeamColorsApi apiInstance = new TeamColorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_15 result = apiInstance.teamColors(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TeamColorsApi#teamColors");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TeamColorsApi;

public class TeamColorsApiExample {

    public static void main(String[] args) {
        TeamColorsApi apiInstance = new TeamColorsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_15 result = apiInstance.teamColors(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TeamColorsApi#teamColors");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

TeamColorsApi *apiInstance = [[TeamColorsApi alloc] init];

// Halo 5 - Team Colors
[apiInstance teamColorsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_15 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.TeamColorsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.teamColors(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class teamColorsExample
    {
        public void main()
        {
            
            var apiInstance = new TeamColorsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Team Colors
                inline_response_200_15 result = apiInstance.teamColors(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TeamColorsApi.teamColors: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\TeamColorsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->teamColors($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TeamColorsApi->teamColors: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TeamColorsApi;

my $api_instance = WWW::SwaggerClient::TeamColorsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->teamColors(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TeamColorsApi->teamColors: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.TeamColorsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Team Colors
    api_response = api_instance.team_colors(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TeamColorsApi->teamColors: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


Vehicles

vehicles

Halo 5 - Vehicles


/h5/metadata/vehicles

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/vehicles"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VehiclesApi;

import java.io.File;
import java.util.*;

public class VehiclesApiExample {

    public static void main(String[] args) {
        
        VehiclesApi apiInstance = new VehiclesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_16 result = apiInstance.vehicles(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VehiclesApi#vehicles");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VehiclesApi;

public class VehiclesApiExample {

    public static void main(String[] args) {
        VehiclesApi apiInstance = new VehiclesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_16 result = apiInstance.vehicles(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VehiclesApi#vehicles");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

VehiclesApi *apiInstance = [[VehiclesApi alloc] init];

// Halo 5 - Vehicles
[apiInstance vehiclesWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_16 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.VehiclesApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.vehicles(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class vehiclesExample
    {
        public void main()
        {
            
            var apiInstance = new VehiclesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Vehicles
                inline_response_200_16 result = apiInstance.vehicles(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VehiclesApi.vehicles: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\VehiclesApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->vehicles($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VehiclesApi->vehicles: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VehiclesApi;

my $api_instance = WWW::SwaggerClient::VehiclesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->vehicles(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VehiclesApi->vehicles: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.VehiclesApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Vehicles
    api_response = api_instance.vehicles(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VehiclesApi->vehicles: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull


Weapons

weapons

Halo 5 - Weapons


/h5/metadata/weapons

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/haloapi/metadata/h5/metadata/weapons"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.WeaponsApi;

import java.io.File;
import java.util.*;

public class WeaponsApiExample {

    public static void main(String[] args) {
        
        WeaponsApi apiInstance = new WeaponsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_17 result = apiInstance.weapons(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WeaponsApi#weapons");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WeaponsApi;

public class WeaponsApiExample {

    public static void main(String[] args) {
        WeaponsApi apiInstance = new WeaponsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.
        try {
            inline_response_200_17 result = apiInstance.weapons(apiecoKey, acceptLanguage);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WeaponsApi#weapons");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *acceptLanguage = acceptLanguage_example; // The desired language for the Metadata. (optional) (default to en)

WeaponsApi *apiInstance = [[WeaponsApi alloc] init];

// Halo 5 - Weapons
[apiInstance weaponsWith:apiecoKey
    acceptLanguage:acceptLanguage
              completionHandler: ^(inline_response_200_17 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HaloPublicApiMetaData = require('halo_public_api__meta_data');

var api = new HaloPublicApiMetaData.WeaponsApi()

var apiecoKey = apiecoKey_example; // {String} 

var opts = { 
  'acceptLanguage': acceptLanguage_example // {String} The desired language for the Metadata.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.weapons(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class weaponsExample
    {
        public void main()
        {
            
            var apiInstance = new WeaponsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var acceptLanguage = acceptLanguage_example;  // String | The desired language for the Metadata. (optional)  (default to en)

            try
            {
                // Halo 5 - Weapons
                inline_response_200_17 result = apiInstance.weapons(apiecoKey, acceptLanguage);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WeaponsApi.weapons: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\WeaponsApi();
$apiecoKey = apiecoKey_example; // String | 
$acceptLanguage = acceptLanguage_example; // String | The desired language for the Metadata.

try {
    $result = $api_instance->weapons($apiecoKey, $acceptLanguage);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling WeaponsApi->weapons: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::WeaponsApi;

my $api_instance = WWW::SwaggerClient::WeaponsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $acceptLanguage = acceptLanguage_example; # String | The desired language for the Metadata.

eval { 
    my $result = $api_instance->weapons(apiecoKey => $apiecoKey, acceptLanguage => $acceptLanguage);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WeaponsApi->weapons: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.WeaponsApi()
apiecoKey = apiecoKey_example # String | 
acceptLanguage = acceptLanguage_example # String | The desired language for the Metadata. (optional) (default to en)

try: 
    # Halo 5 - Weapons
    api_response = api_instance.weapons(apiecoKey, acceptLanguage=acceptLanguage)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WeaponsApi->weapons: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Accept-Language
String
The desired language for the Metadata.

Responses

Status: 200 - successfull