Pokemon Go API Documentation

Berries

berries

Berries are small fruits that can provide HP and status condition restoration, stat enhancement, and even damage negation when eaten by Pokémon. Check out Bulbapedia for greater detail.


/api/v2/berry/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/berry/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BerriesApi;

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

public class BerriesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        BerriesApi apiInstance = new BerriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200 result = apiInstance.berries(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BerriesApi#berries");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BerriesApi;

public class BerriesApiExample {

    public static void main(String[] args) {
        BerriesApi apiInstance = new BerriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200 result = apiInstance.berries(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BerriesApi#berries");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance berriesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.BerriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class berriesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new BerriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200 result = apiInstance.berries(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BerriesApi.berries: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BerriesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BerriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BerriesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.berries(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BerriesApi->berries: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


berryFirmnesses

Berries can be soft or hard. Check out Bulbapedia for greater detail.


/api/v2/berry-firmness/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/berry-firmness/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BerriesApi;

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

public class BerriesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        BerriesApi apiInstance = new BerriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_1 result = apiInstance.berryFirmnesses(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BerriesApi#berryFirmnesses");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BerriesApi;

public class BerriesApiExample {

    public static void main(String[] args) {
        BerriesApi apiInstance = new BerriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_1 result = apiInstance.berryFirmnesses(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BerriesApi#berryFirmnesses");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance berryFirmnessesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.BerriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class berryFirmnessesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new BerriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_1 result = apiInstance.berryFirmnesses(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BerriesApi.berryFirmnesses: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BerriesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BerriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BerriesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.berry_firmnesses(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BerriesApi->berryFirmnesses: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


berryFlavors

Flavors determine whether a Pokémon will benefit or suffer from eating a berry based on their nature. Check out Bulbapedia for greater detail.


/api/v2/berry-flavor/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/berry-flavor/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.BerriesApi;

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

public class BerriesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        BerriesApi apiInstance = new BerriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_2 result = apiInstance.berryFlavors(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BerriesApi#berryFlavors");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.BerriesApi;

public class BerriesApiExample {

    public static void main(String[] args) {
        BerriesApi apiInstance = new BerriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_2 result = apiInstance.berryFlavors(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling BerriesApi#berryFlavors");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance berryFlavorsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.BerriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class berryFlavorsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new BerriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_2 result = apiInstance.berryFlavors(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BerriesApi.berryFlavors: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\BerriesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::BerriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.BerriesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.berry_flavors(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BerriesApi->berryFlavors: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


ContestTypes

contestEffects

Contest effects refer to the effects of moves when used in contests.


/api/v2/contest-effect/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/contest-effect/{id}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContestTypesApi;

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

public class ContestTypesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ContestTypesApi apiInstance = new ContestTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.contestEffects(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContestTypesApi#contestEffects");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContestTypesApi;

public class ContestTypesApiExample {

    public static void main(String[] args) {
        ContestTypesApi apiInstance = new ContestTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.contestEffects(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContestTypesApi#contestEffects");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // 

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

// 
[apiInstance contestEffectsWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ContestTypesApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} 


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

namespace Example
{
    public class contestEffectsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ContestTypesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // 
                inline_response_200_4 result = apiInstance.contestEffects(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContestTypesApi.contestEffects: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ContestTypesApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ContestTypesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ContestTypesApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | 

try: 
    # 
    api_response = api_instance.contest_effects(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContestTypesApi->contestEffects: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


contestTypes

Contest types are categories judges used to weigh a Pokémon's condition in Pokémon contests. Check out Bulbapedia for greater detail.


/api/v2/contest-type/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/contest-type/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContestTypesApi;

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

public class ContestTypesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ContestTypesApi apiInstance = new ContestTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_3 result = apiInstance.contestTypes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContestTypesApi#contestTypes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContestTypesApi;

public class ContestTypesApiExample {

    public static void main(String[] args) {
        ContestTypesApi apiInstance = new ContestTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_3 result = apiInstance.contestTypes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContestTypesApi#contestTypes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance contestTypesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ContestTypesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class contestTypesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ContestTypesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_3 result = apiInstance.contestTypes(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContestTypesApi.contestTypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ContestTypesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ContestTypesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ContestTypesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.contest_types(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContestTypesApi->contestTypes: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


superContestEffects

Super contest effects refer to the effects of moves when used in super contests.


/api/v2/super-contest-effect/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/super-contest-effect/{id}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContestTypesApi;

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

public class ContestTypesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ContestTypesApi apiInstance = new ContestTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_5 result = apiInstance.superContestEffects(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContestTypesApi#superContestEffects");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContestTypesApi;

public class ContestTypesApiExample {

    public static void main(String[] args) {
        ContestTypesApi apiInstance = new ContestTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_5 result = apiInstance.superContestEffects(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContestTypesApi#superContestEffects");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // 

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

// 
[apiInstance superContestEffectsWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ContestTypesApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} 


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

namespace Example
{
    public class superContestEffectsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ContestTypesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // 
                inline_response_200_5 result = apiInstance.superContestEffects(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContestTypesApi.superContestEffects: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ContestTypesApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ContestTypesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ContestTypesApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | 

try: 
    # 
    api_response = api_instance.super_contest_effects(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContestTypesApi->superContestEffects: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Encounter

encounterConditionValues

Encounter condition values are the various states that an encounter condition can have, i.e., time of day can be either day or night.


/api/v2/encounter-condition-value/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/encounter-condition-value/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EncounterApi;

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

public class EncounterApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        EncounterApi apiInstance = new EncounterApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_8 result = apiInstance.encounterConditionValues(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EncounterApi#encounterConditionValues");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EncounterApi;

public class EncounterApiExample {

    public static void main(String[] args) {
        EncounterApi apiInstance = new EncounterApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_8 result = apiInstance.encounterConditionValues(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EncounterApi#encounterConditionValues");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance encounterConditionValuesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.EncounterApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class encounterConditionValuesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new EncounterApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_8 result = apiInstance.encounterConditionValues(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EncounterApi.encounterConditionValues: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\EncounterApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::EncounterApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.EncounterApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.encounter_condition_values(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EncounterApi->encounterConditionValues: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


encounterConditions

Conditions which affect what pokemon might appear in the wild, e.g., day or night.


/api/v2/encounter-condition/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/encounter-condition/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EncounterApi;

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

public class EncounterApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        EncounterApi apiInstance = new EncounterApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_7 result = apiInstance.encounterConditions(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EncounterApi#encounterConditions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EncounterApi;

public class EncounterApiExample {

    public static void main(String[] args) {
        EncounterApi apiInstance = new EncounterApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_7 result = apiInstance.encounterConditions(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EncounterApi#encounterConditions");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance encounterConditionsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.EncounterApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class encounterConditionsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new EncounterApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_7 result = apiInstance.encounterConditions(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EncounterApi.encounterConditions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\EncounterApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::EncounterApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.EncounterApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.encounter_conditions(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EncounterApi->encounterConditions: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


encounterMethods

Methods by which the player might can encounter Pokémon in the wild, e.g., walking in tall grass. Check out Bulbapedia for greater detail.


/api/v2/encounter-method/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/encounter-method/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EncounterApi;

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

public class EncounterApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        EncounterApi apiInstance = new EncounterApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.encounterMethods(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EncounterApi#encounterMethods");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EncounterApi;

public class EncounterApiExample {

    public static void main(String[] args) {
        EncounterApi apiInstance = new EncounterApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.encounterMethods(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EncounterApi#encounterMethods");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance encounterMethodsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.EncounterApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class encounterMethodsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new EncounterApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_6 result = apiInstance.encounterMethods(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EncounterApi.encounterMethods: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\EncounterApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::EncounterApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.EncounterApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.encounter_methods(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EncounterApi->encounterMethods: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Evolution

evolutionChains

Evolution chains are essentially family trees. They start with the lowest stage within a family and detail evolution conditions for each as well as Pokémon they can evolve into up through the hierarchy.


/api/v2/evolution-chain/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/evolution-chain/{id}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EvolutionApi;

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

public class EvolutionApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        EvolutionApi apiInstance = new EvolutionApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_9 result = apiInstance.evolutionChains(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EvolutionApi#evolutionChains");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EvolutionApi;

public class EvolutionApiExample {

    public static void main(String[] args) {
        EvolutionApi apiInstance = new EvolutionApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_9 result = apiInstance.evolutionChains(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EvolutionApi#evolutionChains");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // 

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

// 
[apiInstance evolutionChainsWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.EvolutionApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} 


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

namespace Example
{
    public class evolutionChainsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new EvolutionApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // 
                inline_response_200_9 result = apiInstance.evolutionChains(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EvolutionApi.evolutionChains: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\EvolutionApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::EvolutionApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.EvolutionApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | 

try: 
    # 
    api_response = api_instance.evolution_chains(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EvolutionApi->evolutionChains: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


evolutionTriggers

Evolution triggers are the events and conditions that cause a Pokémon to evolve. Check out Bulbapedia for greater detail.


/api/v2/evolution-trigger/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/evolution-trigger/{id}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EvolutionApi;

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

public class EvolutionApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        EvolutionApi apiInstance = new EvolutionApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.evolutionTriggers(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EvolutionApi#evolutionTriggers");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EvolutionApi;

public class EvolutionApiExample {

    public static void main(String[] args) {
        EvolutionApi apiInstance = new EvolutionApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.evolutionTriggers(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EvolutionApi#evolutionTriggers");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // 

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

// 
[apiInstance evolutionTriggersWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.EvolutionApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} 


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

namespace Example
{
    public class evolutionTriggersExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new EvolutionApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // 
                inline_response_200_10 result = apiInstance.evolutionTriggers(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EvolutionApi.evolutionTriggers: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\EvolutionApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::EvolutionApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.EvolutionApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | 

try: 
    # 
    api_response = api_instance.evolution_triggers(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EvolutionApi->evolutionTriggers: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Games

generations

EA generation is a grouping of the Pokémon games that separates them based on the Pokémon they include. In each generation, a new set of Pokémon, Moves, Abilities and Types that did not exist in the previous generation are released.


/api/v2/generation/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/generation/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GamesApi;

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

public class GamesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        GamesApi apiInstance = new GamesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_11 result = apiInstance.generations(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GamesApi#generations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GamesApi;

public class GamesApiExample {

    public static void main(String[] args) {
        GamesApi apiInstance = new GamesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_11 result = apiInstance.generations(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GamesApi#generations");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance generationsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.GamesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class generationsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new GamesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_11 result = apiInstance.generations(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GamesApi.generations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\GamesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::GamesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.GamesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.generations(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GamesApi->generations: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokedexes

A Pokédex is a handheld electronic encyclopedia device; one which is capable of recording and retaining information of the various Pokémon in a given region with the exception of the national dex and some smaller dexes related to portions of a region. See Bulbapedia for greater detail.


/api/v2/pokedex/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokedex/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GamesApi;

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

public class GamesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        GamesApi apiInstance = new GamesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_12 result = apiInstance.pokedexes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GamesApi#pokedexes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GamesApi;

public class GamesApiExample {

    public static void main(String[] args) {
        GamesApi apiInstance = new GamesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_12 result = apiInstance.pokedexes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GamesApi#pokedexes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokedexesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.GamesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokedexesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new GamesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_12 result = apiInstance.pokedexes(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GamesApi.pokedexes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\GamesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::GamesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.GamesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokedexes(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GamesApi->pokedexes: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Items

item

An item is an object in the games which the player can pick up, keep in their bag, and use in some manner. They have various uses, including healing, powering up, helping catch Pokémon, or to access a new area.


/api/v2/item/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/item/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ItemsApi;

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

public class ItemsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_15 result = apiInstance.item(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#item");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ItemsApi;

public class ItemsApiExample {

    public static void main(String[] args) {
        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_15 result = apiInstance.item(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#item");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance itemWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_15 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ItemsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class itemExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ItemsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_15 result = apiInstance.item(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ItemsApi.item: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ItemsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ItemsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ItemsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.item(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ItemsApi->item: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


itemAttributes

Item attributes define particular aspects of items, e.g. "usable in battle" or "consumable".


/api/v2/item-attribute/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/item-attribute/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ItemsApi;

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

public class ItemsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_16 result = apiInstance.itemAttributes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemAttributes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ItemsApi;

public class ItemsApiExample {

    public static void main(String[] args) {
        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_16 result = apiInstance.itemAttributes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemAttributes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance itemAttributesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_16 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ItemsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class itemAttributesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ItemsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_16 result = apiInstance.itemAttributes(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ItemsApi.itemAttributes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ItemsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ItemsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ItemsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.item_attributes(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ItemsApi->itemAttributes: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


itemCategories

Item categories determine where items will be placed in the players bag.


/api/v2/item-category/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/item-category/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ItemsApi;

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

public class ItemsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_17 result = apiInstance.itemCategories(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemCategories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ItemsApi;

public class ItemsApiExample {

    public static void main(String[] args) {
        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_17 result = apiInstance.itemCategories(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemCategories");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance itemCategoriesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_17 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ItemsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class itemCategoriesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ItemsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_17 result = apiInstance.itemCategories(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ItemsApi.itemCategories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ItemsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ItemsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ItemsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.item_categories(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ItemsApi->itemCategories: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


itemFlingEffects

The various effects of the move "Fling" when used with different items.


/api/v2/item-fling-effect/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/item-fling-effect/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ItemsApi;

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

public class ItemsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_18 result = apiInstance.itemFlingEffects(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemFlingEffects");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ItemsApi;

public class ItemsApiExample {

    public static void main(String[] args) {
        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_18 result = apiInstance.itemFlingEffects(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemFlingEffects");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance itemFlingEffectsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_18 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ItemsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class itemFlingEffectsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ItemsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_18 result = apiInstance.itemFlingEffects(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ItemsApi.itemFlingEffects: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ItemsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ItemsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ItemsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.item_fling_effects(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ItemsApi->itemFlingEffects: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


itemPockets

Pockets within the players bag used for storing items by category.


/api/v2/item-pocket/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/item-pocket/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ItemsApi;

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

public class ItemsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_19 result = apiInstance.itemPockets(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemPockets");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ItemsApi;

public class ItemsApiExample {

    public static void main(String[] args) {
        ItemsApi apiInstance = new ItemsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_19 result = apiInstance.itemPockets(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ItemsApi#itemPockets");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance itemPocketsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.ItemsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class itemPocketsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new ItemsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_19 result = apiInstance.itemPockets(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ItemsApi.itemPockets: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\ItemsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::ItemsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.ItemsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.item_pockets(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ItemsApi->itemPockets: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Locations

locationAreas

Location areas are sections of areas, such as floors in a building or cave. Each area has its own set of possible Pokémon encounters.


/api/v2/location-area/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/location-area/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsApi;

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

public class LocationsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_21 result = apiInstance.locationAreas(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#locationAreas");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsApi;

public class LocationsApiExample {

    public static void main(String[] args) {
        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_21 result = apiInstance.locationAreas(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#locationAreas");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance locationAreasWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_21 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.LocationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class locationAreasExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new LocationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_21 result = apiInstance.locationAreas(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsApi.locationAreas: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\LocationsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::LocationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.LocationsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.location_areas(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LocationsApi->locationAreas: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


locations

Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes.


/api/v2/location/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/location/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsApi;

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

public class LocationsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_20 result = apiInstance.locations(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#locations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsApi;

public class LocationsApiExample {

    public static void main(String[] args) {
        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_20 result = apiInstance.locations(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#locations");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance locationsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_20 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.LocationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class locationsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new LocationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_20 result = apiInstance.locations(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsApi.locations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\LocationsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::LocationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.LocationsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.locations(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LocationsApi->locations: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


palParkAreas

Areas used for grouping Pokémon encounters in Pal Park. They're like habitats that are specific to Pal Park.


/api/v2/pal-park-area/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pal-park-area/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsApi;

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

public class LocationsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_22 result = apiInstance.palParkAreas(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#palParkAreas");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsApi;

public class LocationsApiExample {

    public static void main(String[] args) {
        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_22 result = apiInstance.palParkAreas(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#palParkAreas");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance palParkAreasWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_22 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.LocationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class palParkAreasExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new LocationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_22 result = apiInstance.palParkAreas(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsApi.palParkAreas: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\LocationsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::LocationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.LocationsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pal_park_areas(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LocationsApi->palParkAreas: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


regions

A region is an organized area of the Pokémon world. Most often, the main difference between regions is the species of Pokémon that can be encountered within them.


/api/v2/region/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/region/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsApi;

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

public class LocationsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_23 result = apiInstance.regions(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#regions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsApi;

public class LocationsApiExample {

    public static void main(String[] args) {
        LocationsApi apiInstance = new LocationsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_23 result = apiInstance.regions(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsApi#regions");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance regionsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_23 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.LocationsApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class regionsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new LocationsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_23 result = apiInstance.regions(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsApi.regions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\LocationsApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::LocationsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.LocationsApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.regions(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LocationsApi->regions: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Machines

machines

Evolution triggers are the events and conditions that cause a Pokémon to evolve. Check out Bulbapedia for greater detail.


/api/v2/machine/{id}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/machine/{id}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MachinesApi;

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

public class MachinesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MachinesApi apiInstance = new MachinesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.machines(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MachinesApi#machines");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MachinesApi;

public class MachinesApiExample {

    public static void main(String[] args) {
        MachinesApi apiInstance = new MachinesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.machines(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MachinesApi#machines");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // 

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

// 
[apiInstance machinesWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MachinesApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} 


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

namespace Example
{
    public class machinesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MachinesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // 
                inline_response_200_10 result = apiInstance.machines(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MachinesApi.machines: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MachinesApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MachinesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MachinesApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | 

try: 
    # 
    api_response = api_instance.machines(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MachinesApi->machines: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Moves

moveAilments

Move Ailments are status conditions caused by moves used during battle. See Bulbapedia for greater detail.


/api/v2/move-ailment/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/move-ailment/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MovesApi;

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

public class MovesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_25 result = apiInstance.moveAilments(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveAilments");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MovesApi;

public class MovesApiExample {

    public static void main(String[] args) {
        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_25 result = apiInstance.moveAilments(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveAilments");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance moveAilmentsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_25 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MovesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class moveAilmentsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MovesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_25 result = apiInstance.moveAilments(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MovesApi.moveAilments: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MovesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MovesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MovesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.move_ailments(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MovesApi->moveAilments: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


moveBattleStyles

Styles of moves when used in the Battle Palace. See Bulbapedia for greater detail.


/api/v2/move-battle-style/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/move-battle-style/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MovesApi;

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

public class MovesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_26 result = apiInstance.moveBattleStyles(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveBattleStyles");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MovesApi;

public class MovesApiExample {

    public static void main(String[] args) {
        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_26 result = apiInstance.moveBattleStyles(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveBattleStyles");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance moveBattleStylesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_26 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MovesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class moveBattleStylesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MovesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_26 result = apiInstance.moveBattleStyles(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MovesApi.moveBattleStyles: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MovesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MovesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MovesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.move_battle_styles(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MovesApi->moveBattleStyles: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


moveCategories

Very general categories that loosely group move effects.


/api/v2/move-category/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/move-category/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MovesApi;

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

public class MovesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_27 result = apiInstance.moveCategories(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveCategories");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MovesApi;

public class MovesApiExample {

    public static void main(String[] args) {
        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_27 result = apiInstance.moveCategories(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveCategories");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance moveCategoriesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_27 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MovesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class moveCategoriesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MovesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_27 result = apiInstance.moveCategories(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MovesApi.moveCategories: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MovesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MovesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MovesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.move_categories(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MovesApi->moveCategories: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


moveDamageClasses

Damage classes moves can have, e.g. physical, special, or non-damaging.


/api/v2/move-damage-class/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/move-damage-class/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MovesApi;

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

public class MovesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_27 result = apiInstance.moveDamageClasses(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveDamageClasses");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MovesApi;

public class MovesApiExample {

    public static void main(String[] args) {
        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_27 result = apiInstance.moveDamageClasses(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveDamageClasses");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance moveDamageClassesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_27 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MovesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class moveDamageClassesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MovesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_27 result = apiInstance.moveDamageClasses(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MovesApi.moveDamageClasses: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MovesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MovesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MovesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.move_damage_classes(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MovesApi->moveDamageClasses: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


moveLearnMethods

Methods by which Pokémon can learn moves.


/api/v2/move-learn-method/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/move-learn-method/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MovesApi;

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

public class MovesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_28 result = apiInstance.moveLearnMethods(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveLearnMethods");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MovesApi;

public class MovesApiExample {

    public static void main(String[] args) {
        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_28 result = apiInstance.moveLearnMethods(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveLearnMethods");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance moveLearnMethodsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_28 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MovesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class moveLearnMethodsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MovesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_28 result = apiInstance.moveLearnMethods(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MovesApi.moveLearnMethods: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MovesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MovesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MovesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.move_learn_methods(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MovesApi->moveLearnMethods: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


moveTargets

Targets moves can be directed at during battle. Targets can be Pokémon, environments or even other moves.


/api/v2/move-target/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/move-target/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MovesApi;

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

public class MovesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_28 result = apiInstance.moveTargets(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveTargets");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MovesApi;

public class MovesApiExample {

    public static void main(String[] args) {
        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_28 result = apiInstance.moveTargets(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moveTargets");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance moveTargetsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_28 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MovesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class moveTargetsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MovesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_28 result = apiInstance.moveTargets(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MovesApi.moveTargets: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MovesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MovesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MovesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.move_targets(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MovesApi->moveTargets: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


moves

Moves are the skills of Pokémon in battle. In battle, a Pokémon uses one move each turn. Some moves (including those learned by Hidden Machine) can be used outside of battle as well, usually for the purpose of removing obstacles or exploring new areas.


/api/v2/move/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/move/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MovesApi;

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

public class MovesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_24 result = apiInstance.moves(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moves");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MovesApi;

public class MovesApiExample {

    public static void main(String[] args) {
        MovesApi apiInstance = new MovesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_24 result = apiInstance.moves(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MovesApi#moves");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance movesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_24 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.MovesApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class movesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new MovesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_24 result = apiInstance.moves(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MovesApi.moves: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\MovesApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::MovesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.MovesApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.moves(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MovesApi->moves: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


Pokemon

abilities

Abilities


/api/v2/ability/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/ability/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_29 result = apiInstance.abilities(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#abilities");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_29 result = apiInstance.abilities(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#abilities");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance abilitiesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_29 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class abilitiesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_29 result = apiInstance.abilities(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.abilities: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.abilities(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->abilities: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


characteristics

Characteristics


/api/v2/characteristic/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/characteristic/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_30 result = apiInstance.characteristics(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#characteristics");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_30 result = apiInstance.characteristics(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#characteristics");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance characteristicsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_30 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class characteristicsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_30 result = apiInstance.characteristics(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.characteristics: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.characteristics(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->characteristics: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


eggGroups

Egg Groups


/api/v2/egg-group/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/egg-group/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.eggGroups(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#eggGroups");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.eggGroups(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#eggGroups");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance eggGroupsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class eggGroupsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_10 result = apiInstance.eggGroups(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.eggGroups: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.egg_groups(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->eggGroups: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


genders

Genders were introduced in Generation II for the purposes of breeding Pokémon but can also result in visual differences or even different evolutionary lines. Check out Bulbapedia for greater detail.


/api/v2/gender/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/gender/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_31 result = apiInstance.genders(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#genders");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_31 result = apiInstance.genders(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#genders");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance gendersWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_31 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class gendersExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_31 result = apiInstance.genders(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.genders: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.genders(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->genders: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


growthRates

Growth rates are the speed with which Pokémon gain levels through experience. Check out Bulbapedia for greater detail.


/api/v2/growth-rate/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/growth-rate/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_32 result = apiInstance.growthRates(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#growthRates");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_32 result = apiInstance.growthRates(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#growthRates");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance growthRatesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_32 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class growthRatesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_32 result = apiInstance.growthRates(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.growthRates: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.growth_rates(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->growthRates: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


natures

Natures


/api/v2/nature/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/nature/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_33 result = apiInstance.natures(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#natures");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_33 result = apiInstance.natures(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#natures");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance naturesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_33 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class naturesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_33 result = apiInstance.natures(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.natures: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.natures(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->natures: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokeathlonStats

Pokeathlon Stats


/api/v2/pokeathlon-stat/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokeathlon-stat/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_34 result = apiInstance.pokeathlonStats(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokeathlonStats");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_34 result = apiInstance.pokeathlonStats(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokeathlonStats");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokeathlonStatsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_34 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokeathlonStatsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_34 result = apiInstance.pokeathlonStats(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.pokeathlonStats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokeathlon_stats(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->pokeathlonStats: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokemon

Pokemon


/api/v2/pokemon/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokemon/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_35 result = apiInstance.pokemon(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemon");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_35 result = apiInstance.pokemon(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemon");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokemonWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_35 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokemonExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_35 result = apiInstance.pokemon(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.pokemon: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokemon(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->pokemon: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokemonColors

Pokemon Colors


/api/v2/pokemon-color/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokemon-color/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_36 result = apiInstance.pokemonColors(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonColors");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_36 result = apiInstance.pokemonColors(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonColors");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokemonColorsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_36 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokemonColorsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_36 result = apiInstance.pokemonColors(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.pokemonColors: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokemon_colors(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->pokemonColors: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokemonForms

Pokemon Forms


/api/v2/pokemon-form/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokemon-form/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_37 result = apiInstance.pokemonForms(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonForms");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_37 result = apiInstance.pokemonForms(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonForms");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokemonFormsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_37 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokemonFormsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_37 result = apiInstance.pokemonForms(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.pokemonForms: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokemon_forms(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->pokemonForms: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokemonHabitats

Pokemon Habitats


/api/v2/pokemon-habitat/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokemon-habitat/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.pokemonHabitats(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonHabitats");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.pokemonHabitats(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonHabitats");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokemonHabitatsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokemonHabitatsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_10 result = apiInstance.pokemonHabitats(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.pokemonHabitats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokemon_habitats(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->pokemonHabitats: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokemonShapes

Pokemon Shapess


/api/v2/pokemon-shape/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokemon-shape/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_38 result = apiInstance.pokemonShapes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonShapes");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_38 result = apiInstance.pokemonShapes(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonShapes");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokemonShapesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_38 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokemonShapesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_38 result = apiInstance.pokemonShapes(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.pokemonShapes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokemon_shapes(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->pokemonShapes: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


pokemonSpecies

Pokemon Species


/api/v2/pokemon-species/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/pokemon-species/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_39 result = apiInstance.pokemonSpecies(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonSpecies");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_39 result = apiInstance.pokemonSpecies(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#pokemonSpecies");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance pokemonSpeciesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_39 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class pokemonSpeciesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_39 result = apiInstance.pokemonSpecies(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.pokemonSpecies: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.pokemon_species(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->pokemonSpecies: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


stats

Stats


/api/v2/stat/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/stat/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_40 result = apiInstance.stats(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#stats");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_40 result = apiInstance.stats(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#stats");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance statsWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_40 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class statsExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_40 result = apiInstance.stats(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.stats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.stats(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->stats: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Successful

Status: 405 - Invalid input


types

Types


/api/v2/type/{idOrName}/

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/pokemon-go/api/v2/type/{idOrName}/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PokemonApi;

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

public class PokemonApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: apieco-key
        ApiKeyAuth apieco-key = (ApiKeyAuth) defaultClient.getAuthentication("apieco-key");
        apieco-key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //apieco-key.setApiKeyPrefix("Token");

        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_41 result = apiInstance.types(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#types");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PokemonApi;

public class PokemonApiExample {

    public static void main(String[] args) {
        PokemonApi apiInstance = new PokemonApi();
        String apiecoKey = apiecoKey_example; // String | 
        String idOrName = idOrName_example; // String | 
        try {
            inline_response_200_41 result = apiInstance.types(apiecoKey, idOrName);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PokemonApi#types");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: apieco-key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"apieco-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"apieco-key"];

String *apiecoKey = apiecoKey_example; // 
String *idOrName = idOrName_example; // 

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

// 
[apiInstance typesWith:apiecoKey
    idOrName:idOrName
              completionHandler: ^(inline_response_200_41 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PokemonGoApiDocumentation = require('pokemon_go_api_documentation');
var defaultClient = PokemonGoApiDocumentation.ApiClient.instance;

// Configure API key authorization: apieco-key
var apieco-key = defaultClient.authentications['apieco-key'];
apieco-key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apieco-key.apiKeyPrefix['apieco-key'] = "Token"

var api = new PokemonGoApiDocumentation.PokemonApi()

var apiecoKey = apiecoKey_example; // {String} 

var idOrName = idOrName_example; // {String} 


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

namespace Example
{
    public class typesExample
    {
        public void main()
        {
            
            // Configure API key authorization: apieco-key
            Configuration.Default.ApiKey.Add("apieco-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("apieco-key", "Bearer");

            var apiInstance = new PokemonApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var idOrName = idOrName_example;  // String | 

            try
            {
                // 
                inline_response_200_41 result = apiInstance.types(apiecoKey, idOrName);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PokemonApi.types: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: apieco-key
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('apieco-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('apieco-key', 'Bearer');

$api_instance = new Swagger\Client\Api\PokemonApi();
$apiecoKey = apiecoKey_example; // String | 
$idOrName = idOrName_example; // String | 

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

# Configure API key authorization: apieco-key
$WWW::SwaggerClient::Configuration::api_key->{'apieco-key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'apieco-key'} = "Bearer";

my $api_instance = WWW::SwaggerClient::PokemonApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $idOrName = idOrName_example; # String | 

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

# Configure API key authorization: apieco-key
swagger_client.configuration.api_key['apieco-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['apieco-key'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.PokemonApi()
apiecoKey = apiecoKey_example # String | 
idOrName = idOrName_example # String | 

try: 
    # 
    api_response = api_instance.types(apiecoKey, idOrName)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PokemonApi->types: %s\n" % e)

Parameters

Path parameters
Name Description
idOrName*
String