Tronald Dump

Qoutes

get by ID

Get quote by id


/qoute/{id}

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/tronalddump/qoute/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.QoutesApi;

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

public class QoutesApiExample {

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

        QoutesApi apiInstance = new QoutesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        String accept = accept_example; // String | application/json
        try {
            qoute result = apiInstance.get by ID(apiecoKey, id, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling QoutesApi#get by ID");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.QoutesApi;

public class QoutesApiExample {

    public static void main(String[] args) {
        QoutesApi apiInstance = new QoutesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String id = id_example; // String | 
        String accept = accept_example; // String | application/json
        try {
            qoute result = apiInstance.get by ID(apiecoKey, id, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling QoutesApi#get by ID");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *id = id_example; // 
String *accept = accept_example; // application/json

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

//  Get quote by id



[apiInstance get by IDWith:apiecoKey
    id:id
    accept:accept
              completionHandler: ^(qoute output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TronaldDump_ = require('tronald_dump_');
var defaultClient = TronaldDump_.ApiClient.instance;

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

var api = new TronaldDump_.QoutesApi()

var apiecoKey = apiecoKey_example; // {String} 

var id = id_example; // {String} 

var accept = accept_example; // {String} application/json


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

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

            var apiInstance = new QoutesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var id = id_example;  // String | 
            var accept = accept_example;  // String | application/json

            try
            {
                //  Get quote by id



                qoute result = apiInstance.get by ID(apiecoKey, id, accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling QoutesApi.get by ID: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\QoutesApi();
$apiecoKey = apiecoKey_example; // String | 
$id = id_example; // String | 
$accept = accept_example; // String | application/json

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

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

my $api_instance = WWW::SwaggerClient::QoutesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $id = id_example; # String | 
my $accept = accept_example; # String | application/json

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

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

# create an instance of the API class
api_instance = swagger_client.QoutesApi()
apiecoKey = apiecoKey_example # String | 
id = id_example # String | 
accept = accept_example # String | application/json

try: 
    #  Get quote by id



    api_response = api_instance.get_by_id(apiecoKey, id, accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling QoutesApi->get by ID: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
accept*
String
application/json
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Random

random

Retrieve a random quote.


/random/qoute

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/tronalddump/random/qoute"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RandomApi;

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

public class RandomApiExample {

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

        RandomApi apiInstance = new RandomApi();
        String apiecoKey = apiecoKey_example; // String | 
        String accept = accept_example; // String | application/json
        try {
            qoute result = apiInstance.random(apiecoKey, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RandomApi#random");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RandomApi;

public class RandomApiExample {

    public static void main(String[] args) {
        RandomApi apiInstance = new RandomApi();
        String apiecoKey = apiecoKey_example; // String | 
        String accept = accept_example; // String | application/json
        try {
            qoute result = apiInstance.random(apiecoKey, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RandomApi#random");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *accept = accept_example; // application/json

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

//  Retrieve a random quote.



[apiInstance randomWith:apiecoKey
    accept:accept
              completionHandler: ^(qoute output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TronaldDump_ = require('tronald_dump_');
var defaultClient = TronaldDump_.ApiClient.instance;

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

var api = new TronaldDump_.RandomApi()

var apiecoKey = apiecoKey_example; // {String} 

var accept = accept_example; // {String} application/json


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

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

            var apiInstance = new RandomApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var accept = accept_example;  // String | application/json

            try
            {
                //  Retrieve a random quote.



                qoute result = apiInstance.random(apiecoKey, accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RandomApi.random: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\RandomApi();
$apiecoKey = apiecoKey_example; // String | 
$accept = accept_example; // String | application/json

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

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

my $api_instance = WWW::SwaggerClient::RandomApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $accept = accept_example; # String | application/json

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

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

# create an instance of the API class
api_instance = swagger_client.RandomApi()
apiecoKey = apiecoKey_example # String | 
accept = accept_example # String | application/json

try: 
    #  Retrieve a random quote.



    api_response = api_instance.random(apiecoKey, accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RandomApi->random: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
accept*
String
application/json
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Tags

get by tag

Retrieve a quotes by a given tag


/tag/{tag}

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/tronalddump/tag/{tag}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagsApi;

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

public class TagsApiExample {

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

        TagsApi apiInstance = new TagsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String accept = accept_example; // String | application/json
        String tag = tag_example; // String | 
        try {
            tag result = apiInstance.get by tag(apiecoKey, accept, tag);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagsApi#get by tag");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagsApi;

public class TagsApiExample {

    public static void main(String[] args) {
        TagsApi apiInstance = new TagsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String accept = accept_example; // String | application/json
        String tag = tag_example; // String | 
        try {
            tag result = apiInstance.get by tag(apiecoKey, accept, tag);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagsApi#get by tag");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *accept = accept_example; // application/json
String *tag = tag_example; // 

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

//  Retrieve a quotes by a given tag



[apiInstance get by tagWith:apiecoKey
    accept:accept
    tag:tag
              completionHandler: ^(tag output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TronaldDump_ = require('tronald_dump_');
var defaultClient = TronaldDump_.ApiClient.instance;

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

var api = new TronaldDump_.TagsApi()

var apiecoKey = apiecoKey_example; // {String} 

var accept = accept_example; // {String} application/json

var tag = tag_example; // {String} 


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

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

            var apiInstance = new TagsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var accept = accept_example;  // String | application/json
            var tag = tag_example;  // String | 

            try
            {
                //  Retrieve a quotes by a given tag



                tag result = apiInstance.get by tag(apiecoKey, accept, tag);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagsApi.get by tag: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\TagsApi();
$apiecoKey = apiecoKey_example; // String | 
$accept = accept_example; // String | application/json
$tag = tag_example; // String | 

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

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

my $api_instance = WWW::SwaggerClient::TagsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $accept = accept_example; # String | application/json
my $tag = tag_example; # String | 

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

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

# create an instance of the API class
api_instance = swagger_client.TagsApi()
apiecoKey = apiecoKey_example # String | 
accept = accept_example # String | application/json
tag = tag_example # String | 

try: 
    #  Retrieve a quotes by a given tag



    api_response = api_instance.get_by_tag(apiecoKey, accept, tag)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagsApi->get by tag: %s\n" % e)

Parameters

Path parameters
Name Description
tag*
String
Required
Header parameters
Name Description
apieco-key*
String
Required
accept*
String
application/json
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


get tags

Retrieve a list of available tags


/tag

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/tronalddump/tag"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TagsApi;

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

public class TagsApiExample {

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

        TagsApi apiInstance = new TagsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String accept = accept_example; // String | application/json
        try {
            tag result = apiInstance.get tags(apiecoKey, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagsApi#get tags");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TagsApi;

public class TagsApiExample {

    public static void main(String[] args) {
        TagsApi apiInstance = new TagsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String accept = accept_example; // String | application/json
        try {
            tag result = apiInstance.get tags(apiecoKey, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TagsApi#get tags");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

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

String *apiecoKey = apiecoKey_example; // 
String *accept = accept_example; // application/json

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

//  Retrieve a list of available tags



[apiInstance get tagsWith:apiecoKey
    accept:accept
              completionHandler: ^(tag output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var TronaldDump_ = require('tronald_dump_');
var defaultClient = TronaldDump_.ApiClient.instance;

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

var api = new TronaldDump_.TagsApi()

var apiecoKey = apiecoKey_example; // {String} 

var accept = accept_example; // {String} application/json


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

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

            var apiInstance = new TagsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var accept = accept_example;  // String | application/json

            try
            {
                //  Retrieve a list of available tags



                tag result = apiInstance.get tags(apiecoKey, accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TagsApi.get tags: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

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

$api_instance = new Swagger\Client\Api\TagsApi();
$apiecoKey = apiecoKey_example; // String | 
$accept = accept_example; // String | application/json

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

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

my $api_instance = WWW::SwaggerClient::TagsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $accept = accept_example; # String | application/json

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

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

# create an instance of the API class
api_instance = swagger_client.TagsApi()
apiecoKey = apiecoKey_example # String | 
accept = accept_example # String | application/json

try: 
    #  Retrieve a list of available tags



    api_response = api_instance.get_tags(apiecoKey, accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TagsApi->get tags: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
accept*
String
application/json
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input