My Fake API

Cars

carsByColor

Cars By Color


/api/cars/color/{color}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/cars/color/{color}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CarsApi;

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

public class CarsApiExample {

    public static void main(String[] args) {
        
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String color = color_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByColor(apiecoKey, color);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByColor");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CarsApi;

public class CarsApiExample {

    public static void main(String[] args) {
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String color = color_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByColor(apiecoKey, color);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByColor");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *color = color_example; // 

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

// Cars By Color
[apiInstance carsByColorWith:apiecoKey
    color:color
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.CarsApi()

var apiecoKey = apiecoKey_example; // {String} 

var color = color_example; // {String} 


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

namespace Example
{
    public class carsByColorExample
    {
        public void main()
        {
            
            var apiInstance = new CarsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var color = color_example;  // String | 

            try
            {
                // Cars By Color
                inline_response_200_4 result = apiInstance.carsByColor(apiecoKey, color);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CarsApi.carsByColor: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CarsApi();
$apiecoKey = apiecoKey_example; // String | 
$color = color_example; // String | 

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

my $api_instance = WWW::SwaggerClient::CarsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $color = color_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.CarsApi()
apiecoKey = apiecoKey_example # String | 
color = color_example # String | 

try: 
    # Cars By Color
    api_response = api_instance.cars_by_color(apiecoKey, color)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CarsApi->carsByColor: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


carsById

Cars By ID


/api/cars/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/cars/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CarsApi;

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

public class CarsApiExample {

    public static void main(String[] args) {
        
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_4_cars result = apiInstance.carsById(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CarsApi;

public class CarsApiExample {

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

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

// Cars By ID
[apiInstance carsByIdWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_4_cars output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.CarsApi()

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.carsById(apiecoKey, id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class carsByIdExample
    {
        public void main()
        {
            
            var apiInstance = new CarsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // Cars By ID
                inline_response_200_4_cars result = apiInstance.carsById(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CarsApi.carsById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Cars By ID
    api_response = api_instance.cars_by_id(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CarsApi->carsById: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


carsByModel

Cars By Model


/api/cars/model/{model}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/cars/model/{model}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CarsApi;

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

public class CarsApiExample {

    public static void main(String[] args) {
        
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String model = model_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByModel(apiecoKey, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByModel");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CarsApi;

public class CarsApiExample {

    public static void main(String[] args) {
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String model = model_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByModel(apiecoKey, model);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByModel");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *model = model_example; // 

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

// Cars By Model
[apiInstance carsByModelWith:apiecoKey
    model:model
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.CarsApi()

var apiecoKey = apiecoKey_example; // {String} 

var model = model_example; // {String} 


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

namespace Example
{
    public class carsByModelExample
    {
        public void main()
        {
            
            var apiInstance = new CarsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var model = model_example;  // String | 

            try
            {
                // Cars By Model
                inline_response_200_4 result = apiInstance.carsByModel(apiecoKey, model);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CarsApi.carsByModel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CarsApi();
$apiecoKey = apiecoKey_example; // String | 
$model = model_example; // String | 

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

my $api_instance = WWW::SwaggerClient::CarsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $model = model_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.CarsApi()
apiecoKey = apiecoKey_example # String | 
model = model_example # String | 

try: 
    # Cars By Model
    api_response = api_instance.cars_by_model(apiecoKey, model)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CarsApi->carsByModel: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


carsByName

Cars By Name


/api/cars/name/{name}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/cars/name/{name}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CarsApi;

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

public class CarsApiExample {

    public static void main(String[] args) {
        
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CarsApi;

public class CarsApiExample {

    public static void main(String[] args) {
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByName");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *name = name_example; // 

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

// Cars By  Name
[apiInstance carsByNameWith:apiecoKey
    name:name
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.CarsApi()

var apiecoKey = apiecoKey_example; // {String} 

var name = name_example; // {String} 


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

namespace Example
{
    public class carsByNameExample
    {
        public void main()
        {
            
            var apiInstance = new CarsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var name = name_example;  // String | 

            try
            {
                // Cars By  Name
                inline_response_200_4 result = apiInstance.carsByName(apiecoKey, name);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CarsApi.carsByName: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CarsApi();
$apiecoKey = apiecoKey_example; // String | 
$name = name_example; // String | 

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

my $api_instance = WWW::SwaggerClient::CarsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $name = name_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.CarsApi()
apiecoKey = apiecoKey_example # String | 
name = name_example # String | 

try: 
    # Cars By  Name
    api_response = api_instance.cars_by_name(apiecoKey, name)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CarsApi->carsByName: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


carsByYear

Cars By Year


/api/cars/year/{year}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/cars/year/{year}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CarsApi;

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

public class CarsApiExample {

    public static void main(String[] args) {
        
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String year = year_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByYear(apiecoKey, year);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByYear");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CarsApi;

public class CarsApiExample {

    public static void main(String[] args) {
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String year = year_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsByYear(apiecoKey, year);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsByYear");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *year = year_example; // 

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

// Cars By Year
[apiInstance carsByYearWith:apiecoKey
    year:year
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.CarsApi()

var apiecoKey = apiecoKey_example; // {String} 

var year = year_example; // {String} 


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

namespace Example
{
    public class carsByYearExample
    {
        public void main()
        {
            
            var apiInstance = new CarsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var year = year_example;  // String | 

            try
            {
                // Cars By Year
                inline_response_200_4 result = apiInstance.carsByYear(apiecoKey, year);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CarsApi.carsByYear: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\CarsApi();
$apiecoKey = apiecoKey_example; // String | 
$year = year_example; // String | 

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

my $api_instance = WWW::SwaggerClient::CarsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $year = year_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.CarsApi()
apiecoKey = apiecoKey_example # String | 
year = year_example # String | 

try: 
    # Cars By Year
    api_response = api_instance.cars_by_year(apiecoKey, year)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CarsApi->carsByYear: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


carsList

Cars List


/api/cars

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/cars"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CarsApi;

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

public class CarsApiExample {

    public static void main(String[] args) {
        
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CarsApi;

public class CarsApiExample {

    public static void main(String[] args) {
        CarsApi apiInstance = new CarsApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_4 result = apiInstance.carsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CarsApi#carsList");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Cars List
[apiInstance carsListWith:apiecoKey
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.CarsApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class carsListExample
    {
        public void main()
        {
            
            var apiInstance = new CarsApi();
            var apiecoKey = apiecoKey_example;  // String | 

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

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

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

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

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

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

try: 
    # Cars List
    api_response = api_instance.cars_list(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CarsApi->carsList: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


Football

footballList

Get Football Info


/api/football

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.footballList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#footballList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

    public static void main(String[] args) {
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_6 result = apiInstance.footballList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#footballList");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Get Football Info
[apiInstance footballListWith:apiecoKey
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class footballListExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 

            try
            {
                // Get Football Info
                inline_response_200_6 result = apiInstance.footballList(apiecoKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.footballList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Get Football Info
    api_response = api_instance.football_list(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->footballList: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


stadiumsByID

Get Football Stadiums By ID


/api/football/stadiums/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/stadiums/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_6_stadiums result = apiInstance.stadiumsByID(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#stadiumsByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

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

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

// Get Football Stadiums By ID
[apiInstance stadiumsByIDWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_6_stadiums output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

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.stadiumsByID(apiecoKey, id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class stadiumsByIDExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // Get Football Stadiums By ID
                inline_response_200_6_stadiums result = apiInstance.stadiumsByID(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.stadiumsByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Get Football Stadiums By ID
    api_response = api_instance.stadiums_by_id(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->stadiumsByID: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


stadiumsByName

Get Football Stadiums By Name


/api/football/stadiums/name/{name}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/stadiums/name/{name}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_6_stadiums result = apiInstance.stadiumsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#stadiumsByName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

    public static void main(String[] args) {
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_6_stadiums result = apiInstance.stadiumsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#stadiumsByName");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *name = name_example; // 

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

// Get Football Stadiums By Name
[apiInstance stadiumsByNameWith:apiecoKey
    name:name
              completionHandler: ^(inline_response_200_6_stadiums output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

var apiecoKey = apiecoKey_example; // {String} 

var name = name_example; // {String} 


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

namespace Example
{
    public class stadiumsByNameExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var name = name_example;  // String | 

            try
            {
                // Get Football Stadiums By Name
                inline_response_200_6_stadiums result = apiInstance.stadiumsByName(apiecoKey, name);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.stadiumsByName: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FootballApi();
$apiecoKey = apiecoKey_example; // String | 
$name = name_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FootballApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $name = name_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.FootballApi()
apiecoKey = apiecoKey_example # String | 
name = name_example # String | 

try: 
    # Get Football Stadiums By Name
    api_response = api_instance.stadiums_by_name(apiecoKey, name)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->stadiumsByName: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


stadiumsList

Get Football Stadiums


/api/football/stadiums

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/stadiums"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_7 result = apiInstance.stadiumsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#stadiumsList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

    public static void main(String[] args) {
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_7 result = apiInstance.stadiumsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#stadiumsList");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Get Football Stadiums
[apiInstance stadiumsListWith:apiecoKey
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class stadiumsListExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 

            try
            {
                // Get Football Stadiums
                inline_response_200_7 result = apiInstance.stadiumsList(apiecoKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.stadiumsList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Get Football Stadiums
    api_response = api_instance.stadiums_list(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->stadiumsList: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


tVChannelsByID

Get Football TV Channels By ID


/api/football/tvchannels/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/tvchannels/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_8_channels result = apiInstance.tVChannelsByID(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#tVChannelsByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

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

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

// Get Football TV Channels By ID
[apiInstance tVChannelsByIDWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_8_channels output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

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.tVChannelsByID(apiecoKey, id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class tVChannelsByIDExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // Get Football TV Channels By ID
                inline_response_200_8_channels result = apiInstance.tVChannelsByID(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.tVChannelsByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Get Football TV Channels By ID
    api_response = api_instance.t_v_channels_by_id(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->tVChannelsByID: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


tVChannelsByName

Get Football TV Channels By Name


/api/football/tvchannels/name/{name}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/tvchannels/name/{name}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_8_channels result = apiInstance.tVChannelsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#tVChannelsByName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

    public static void main(String[] args) {
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_8_channels result = apiInstance.tVChannelsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#tVChannelsByName");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *name = name_example; // 

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

// Get Football TV Channels By Name
[apiInstance tVChannelsByNameWith:apiecoKey
    name:name
              completionHandler: ^(inline_response_200_8_channels output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

var apiecoKey = apiecoKey_example; // {String} 

var name = name_example; // {String} 


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

namespace Example
{
    public class tVChannelsByNameExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var name = name_example;  // String | 

            try
            {
                // Get Football TV Channels By Name
                inline_response_200_8_channels result = apiInstance.tVChannelsByName(apiecoKey, name);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.tVChannelsByName: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FootballApi();
$apiecoKey = apiecoKey_example; // String | 
$name = name_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FootballApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $name = name_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.FootballApi()
apiecoKey = apiecoKey_example # String | 
name = name_example # String | 

try: 
    # Get Football TV Channels By Name
    api_response = api_instance.t_v_channels_by_name(apiecoKey, name)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->tVChannelsByName: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


tVChannelsList

Get Football TV Channels


/api/football/tvchannels

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/tvchannels"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_8 result = apiInstance.tVChannelsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#tVChannelsList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

    public static void main(String[] args) {
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_8 result = apiInstance.tVChannelsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#tVChannelsList");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Get Football TV Channels
[apiInstance tVChannelsListWith:apiecoKey
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class tVChannelsListExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 

            try
            {
                // Get Football TV Channels
                inline_response_200_8 result = apiInstance.tVChannelsList(apiecoKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.tVChannelsList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Get Football TV Channels
    api_response = api_instance.t_v_channels_list(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->tVChannelsList: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


teamsByID

Get Football Teams By ID


/api/football/teams/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/teams/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_10 result = apiInstance.teamsByID(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#teamsByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

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

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

// Get Football Teams By ID
[apiInstance teamsByIDWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

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.teamsByID(apiecoKey, id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class teamsByIDExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // Get Football Teams By ID
                inline_response_200_10 result = apiInstance.teamsByID(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.teamsByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Get Football Teams By ID
    api_response = api_instance.teams_by_id(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->teamsByID: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


teamsByName

Get Football Teams By Name


/api/football/teams/name/{name}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/teams/name/{name}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_11 result = apiInstance.teamsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#teamsByName");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

    public static void main(String[] args) {
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        String name = name_example; // String | 
        try {
            inline_response_200_11 result = apiInstance.teamsByName(apiecoKey, name);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#teamsByName");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *name = name_example; // 

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

// Get Football Teams By Name
[apiInstance teamsByNameWith:apiecoKey
    name:name
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

var apiecoKey = apiecoKey_example; // {String} 

var name = name_example; // {String} 


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

namespace Example
{
    public class teamsByNameExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var name = name_example;  // String | 

            try
            {
                // Get Football Teams By Name
                inline_response_200_11 result = apiInstance.teamsByName(apiecoKey, name);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.teamsByName: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FootballApi();
$apiecoKey = apiecoKey_example; // String | 
$name = name_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FootballApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $name = name_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.FootballApi()
apiecoKey = apiecoKey_example # String | 
name = name_example # String | 

try: 
    # Get Football Teams By Name
    api_response = api_instance.teams_by_name(apiecoKey, name)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->teamsByName: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


teamsList

Get Football Teams


/api/football/teams

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/football/teams"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FootballApi;

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

public class FootballApiExample {

    public static void main(String[] args) {
        
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_9 result = apiInstance.teamsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#teamsList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FootballApi;

public class FootballApiExample {

    public static void main(String[] args) {
        FootballApi apiInstance = new FootballApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_9 result = apiInstance.teamsList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FootballApi#teamsList");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Get Football Teams
[apiInstance teamsListWith:apiecoKey
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.FootballApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class teamsListExample
    {
        public void main()
        {
            
            var apiInstance = new FootballApi();
            var apiecoKey = apiecoKey_example;  // String | 

            try
            {
                // Get Football Teams
                inline_response_200_9 result = apiInstance.teamsList(apiecoKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FootballApi.teamsList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Get Football Teams
    api_response = api_instance.teams_list(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FootballApi->teamsList: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


UserManagement

contactUs

Contact Us


/api/contactus

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/myfakeapi/api/contactus"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserManagementApi;

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

public class UserManagementApiExample {

    public static void main(String[] args) {
        
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_3 result = apiInstance.contactUs(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#contactUs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserManagementApi;

public class UserManagementApiExample {

    public static void main(String[] args) {
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_3 result = apiInstance.contactUs(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#contactUs");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Contact Us
[apiInstance contactUsWith:apiecoKey
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.UserManagementApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class contactUsExample
    {
        public void main()
        {
            
            var apiInstance = new UserManagementApi();
            var apiecoKey = apiecoKey_example;  // String | 

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

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

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

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

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

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

try: 
    # Contact Us
    api_response = api_instance.contact_us(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserManagementApi->contactUs: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


login

Login


/api/login

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/myfakeapi/api/login"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserManagementApi;

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

public class UserManagementApiExample {

    public static void main(String[] args) {
        
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_1 result = apiInstance.login(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#login");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserManagementApi;

public class UserManagementApiExample {

    public static void main(String[] args) {
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_1 result = apiInstance.login(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#login");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Login
[apiInstance loginWith:apiecoKey
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.UserManagementApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class loginExample
    {
        public void main()
        {
            
            var apiInstance = new UserManagementApi();
            var apiecoKey = apiecoKey_example;  // String | 

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

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

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

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

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

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

try: 
    # Login
    api_response = api_instance.login(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserManagementApi->login: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


session

Get Session


/api/session

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/myfakeapi/api/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserManagementApi;

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

public class UserManagementApiExample {

    public static void main(String[] args) {
        
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_2 result = apiInstance.session(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#session");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserManagementApi;

public class UserManagementApiExample {

    public static void main(String[] args) {
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_2 result = apiInstance.session(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#session");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Get Session
[apiInstance sessionWith:apiecoKey
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.UserManagementApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class sessionExample
    {
        public void main()
        {
            
            var apiInstance = new UserManagementApi();
            var apiecoKey = apiecoKey_example;  // String | 

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

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

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

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

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

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

try: 
    # Get Session
    api_response = api_instance.session(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserManagementApi->session: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


signUp

Sign Up


/api/signup

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/myfakeapi/api/signup"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserManagementApi;

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

public class UserManagementApiExample {

    public static void main(String[] args) {
        
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200 result = apiInstance.signUp(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#signUp");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserManagementApi;

public class UserManagementApiExample {

    public static void main(String[] args) {
        UserManagementApi apiInstance = new UserManagementApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200 result = apiInstance.signUp(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserManagementApi#signUp");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Sign Up
[apiInstance signUpWith:apiecoKey
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.UserManagementApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class signUpExample
    {
        public void main()
        {
            
            var apiInstance = new UserManagementApi();
            var apiecoKey = apiecoKey_example;  // String | 

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

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

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

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

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

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

try: 
    # Sign Up
    api_response = api_instance.sign_up(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserManagementApi->signUp: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


Users

addUser

Add User


/api/users

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/myfakeapi/api/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

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

public class UsersApiExample {

    public static void main(String[] args) {
        
        UsersApi apiInstance = new UsersApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_5 result = apiInstance.addUser(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsersApi#addUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

    public static void main(String[] args) {
        UsersApi apiInstance = new UsersApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_5 result = apiInstance.addUser(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsersApi#addUser");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Add User
[apiInstance addUserWith:apiecoKey
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.UsersApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class addUserExample
    {
        public void main()
        {
            
            var apiInstance = new UsersApi();
            var apiecoKey = apiecoKey_example;  // String | 

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

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

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

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

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

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

try: 
    # Add User
    api_response = api_instance.add_user(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UsersApi->addUser: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful


usersByID

Users By ID


/api/users/{id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/users/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

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

public class UsersApiExample {

    public static void main(String[] args) {
        
        UsersApi apiInstance = new UsersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        try {
            inline_response_200_5_users result = apiInstance.usersByID(apiecoKey, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsersApi#usersByID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

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

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

// Users By ID
[apiInstance usersByIDWith:apiecoKey
    id:id
              completionHandler: ^(inline_response_200_5_users output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.UsersApi()

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.usersByID(apiecoKey, id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class usersByIDExample
    {
        public void main()
        {
            
            var apiInstance = new UsersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 

            try
            {
                // Users By ID
                inline_response_200_5_users result = apiInstance.usersByID(apiecoKey, id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UsersApi.usersByID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

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

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

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

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

try: 
    # Users By ID
    api_response = api_instance.users_by_id(apiecoKey, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UsersApi->usersByID: %s\n" % e)

Parameters

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

Responses

Status: 200 - successful


usersList

Users List


/api/users

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/myfakeapi/api/users"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsersApi;

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

public class UsersApiExample {

    public static void main(String[] args) {
        
        UsersApi apiInstance = new UsersApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_5 result = apiInstance.usersList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsersApi#usersList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UsersApi;

public class UsersApiExample {

    public static void main(String[] args) {
        UsersApi apiInstance = new UsersApi();
        String apiecoKey = apiecoKey_example; // String | 
        try {
            inline_response_200_5 result = apiInstance.usersList(apiecoKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsersApi#usersList");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 

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

// Users List
[apiInstance usersListWith:apiecoKey
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var MyFakeApi = require('my_fake_api');

var api = new MyFakeApi.UsersApi()

var apiecoKey = apiecoKey_example; // {String} 


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

namespace Example
{
    public class usersListExample
    {
        public void main()
        {
            
            var apiInstance = new UsersApi();
            var apiecoKey = apiecoKey_example;  // String | 

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

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

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

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

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

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

try: 
    # Users List
    api_response = api_instance.users_list(apiecoKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UsersApi->usersList: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - successful