Words API

Also

wordsWordAlsoGet

Phrases of which the word is a part.


/words/{word}/also

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/also"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AlsoApi;

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

public class AlsoApiExample {

    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");

        AlsoApi apiInstance = new AlsoApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_7 result = apiInstance.wordsWordAlsoGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlsoApi#wordsWordAlsoGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AlsoApi;

public class AlsoApiExample {

    public static void main(String[] args) {
        AlsoApi apiInstance = new AlsoApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_7 result = apiInstance.wordsWordAlsoGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AlsoApi#wordsWordAlsoGet");
            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 *word = word_example; // Try a Word

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

// Phrases of which the word is a part.
[apiInstance wordsWordAlsoGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.AlsoApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordAlsoGetExample
    {
        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 AlsoApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Phrases of which the word is a part.
                inline_response_200_7 result = apiInstance.wordsWordAlsoGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AlsoApi.wordsWordAlsoGet: " + 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\AlsoApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::AlsoApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordAlsoGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AlsoApi->wordsWordAlsoGet: $@\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.AlsoApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Phrases of which the word is a part.
    api_response = api_instance.words_word_also_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AlsoApi->wordsWordAlsoGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Antonyms

wordsWordAntonymsGet

Get antonyms (opposites) of a word.


/words/{word}/antonyms

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/antonyms"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AntonymsApi;

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

public class AntonymsApiExample {

    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");

        AntonymsApi apiInstance = new AntonymsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_24 result = apiInstance.wordsWordAntonymsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AntonymsApi#wordsWordAntonymsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AntonymsApi;

public class AntonymsApiExample {

    public static void main(String[] args) {
        AntonymsApi apiInstance = new AntonymsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_24 result = apiInstance.wordsWordAntonymsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AntonymsApi#wordsWordAntonymsGet");
            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 *word = word_example; // Try a Word

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

// Get antonyms (opposites) of a word.
[apiInstance wordsWordAntonymsGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_24 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.AntonymsApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordAntonymsGetExample
    {
        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 AntonymsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Get antonyms (opposites) of a word.
                inline_response_200_24 result = apiInstance.wordsWordAntonymsGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AntonymsApi.wordsWordAntonymsGet: " + 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\AntonymsApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::AntonymsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordAntonymsGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AntonymsApi->wordsWordAntonymsGet: $@\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.AntonymsApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Get antonyms (opposites) of a word.
    api_response = api_instance.words_word_antonyms_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AntonymsApi->wordsWordAntonymsGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Definitions

wordsWordDefinitionsGet

Get definitions of a word, including the part of speech.


/words/{word}/definitions

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/definitions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefinitionsApi;

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

public class DefinitionsApiExample {

    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");

        DefinitionsApi apiInstance = new DefinitionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_23 result = apiInstance.wordsWordDefinitionsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefinitionsApi#wordsWordDefinitionsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefinitionsApi;

public class DefinitionsApiExample {

    public static void main(String[] args) {
        DefinitionsApi apiInstance = new DefinitionsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_23 result = apiInstance.wordsWordDefinitionsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefinitionsApi#wordsWordDefinitionsGet");
            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 *word = word_example; // Try a Word

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

// Get definitions of a word, including the part of speech.
[apiInstance wordsWordDefinitionsGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_23 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.DefinitionsApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordDefinitionsGetExample
    {
        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 DefinitionsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Get definitions of a word, including the part of speech.
                inline_response_200_23 result = apiInstance.wordsWordDefinitionsGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefinitionsApi.wordsWordDefinitionsGet: " + 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\DefinitionsApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::DefinitionsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordDefinitionsGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefinitionsApi->wordsWordDefinitionsGet: $@\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.DefinitionsApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Get definitions of a word, including the part of speech.
    api_response = api_instance.words_word_definitions_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefinitionsApi->wordsWordDefinitionsGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Entails

wordsWordEntailsGet

Words that are implied by the original word. Usually used for verbs.


/words/{word}/entails

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/entails"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EntailsApi;

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

public class EntailsApiExample {

    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");

        EntailsApi apiInstance = new EntailsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_8 result = apiInstance.wordsWordEntailsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EntailsApi#wordsWordEntailsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EntailsApi;

public class EntailsApiExample {

    public static void main(String[] args) {
        EntailsApi apiInstance = new EntailsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_8 result = apiInstance.wordsWordEntailsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EntailsApi#wordsWordEntailsGet");
            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 *word = word_example; // Try a Word

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

// Words that are implied by the original word. Usually used for verbs.
[apiInstance wordsWordEntailsGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.EntailsApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordEntailsGetExample
    {
        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 EntailsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that are implied by the original word. Usually used for verbs.
                inline_response_200_8 result = apiInstance.wordsWordEntailsGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EntailsApi.wordsWordEntailsGet: " + 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\EntailsApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::EntailsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordEntailsGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EntailsApi->wordsWordEntailsGet: $@\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.EntailsApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that are implied by the original word. Usually used for verbs.
    api_response = api_instance.words_word_entails_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EntailsApi->wordsWordEntailsGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Examples

wordsWordExamplesGet

Get examples of how the word is used.


/words/{word}/examples

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/examples"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ExamplesApi;

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

public class ExamplesApiExample {

    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");

        ExamplesApi apiInstance = new ExamplesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_25 result = apiInstance.wordsWordExamplesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExamplesApi#wordsWordExamplesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ExamplesApi;

public class ExamplesApiExample {

    public static void main(String[] args) {
        ExamplesApi apiInstance = new ExamplesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_25 result = apiInstance.wordsWordExamplesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ExamplesApi#wordsWordExamplesGet");
            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 *word = word_example; // Try a Word

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

// Get examples of how the word is used.
[apiInstance wordsWordExamplesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_25 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.ExamplesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordExamplesGetExample
    {
        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 ExamplesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Get examples of how the word is used.
                inline_response_200_25 result = apiInstance.wordsWordExamplesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ExamplesApi.wordsWordExamplesGet: " + 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\ExamplesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::ExamplesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordExamplesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ExamplesApi->wordsWordExamplesGet: $@\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.ExamplesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Get examples of how the word is used.
    api_response = api_instance.words_word_examples_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExamplesApi->wordsWordExamplesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Frequency

wordsWordFrequencyGet

Expands upon the frequeny score returned by the main /words/{word} endpoint. Returns zipf, a score indicating how common the word is in the English language, with a range of 1 to 7; perMillion, the number of times the word is likely to appear in a corpus of one million English words; and diversity, a 0-1 scale the shows the likelyhood of the word appearing in an English document that is part of a corpus.


/words/{word}/frequency

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/frequency"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FrequencyApi;

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

public class FrequencyApiExample {

    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");

        FrequencyApi apiInstance = new FrequencyApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_29 result = apiInstance.wordsWordFrequencyGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FrequencyApi#wordsWordFrequencyGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FrequencyApi;

public class FrequencyApiExample {

    public static void main(String[] args) {
        FrequencyApi apiInstance = new FrequencyApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_29 result = apiInstance.wordsWordFrequencyGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FrequencyApi#wordsWordFrequencyGet");
            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 *word = word_example; // Try a Word

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

// Expands upon the frequeny score returned by the main /words/{word} endpoint. Returns zipf, a score indicating how common the word is in the English language, with a range of 1 to 7; perMillion, the number of times the word is likely to appear in a corpus of one million English words; and diversity, a 0-1 scale the shows the likelyhood of the word appearing in an English document that is part of a corpus.
[apiInstance wordsWordFrequencyGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_29 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.FrequencyApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordFrequencyGetExample
    {
        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 FrequencyApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Expands upon the frequeny score returned by the main /words/{word} endpoint. Returns zipf, a score indicating how common the word is in the English language, with a range of 1 to 7; perMillion, the number of times the word is likely to appear in a corpus of one million English words; and diversity, a 0-1 scale the shows the likelyhood of the word appearing in an English document that is part of a corpus.
                inline_response_200_29 result = apiInstance.wordsWordFrequencyGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FrequencyApi.wordsWordFrequencyGet: " + 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\FrequencyApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::FrequencyApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordFrequencyGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FrequencyApi->wordsWordFrequencyGet: $@\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.FrequencyApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Expands upon the frequeny score returned by the main /words/{word} endpoint. Returns zipf, a score indicating how common the word is in the English language, with a range of 1 to 7; perMillion, the number of times the word is likely to appear in a corpus of one million English words; and diversity, a 0-1 scale the shows the likelyhood of the word appearing in an English document that is part of a corpus.
    api_response = api_instance.words_word_frequency_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FrequencyApi->wordsWordFrequencyGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


HasCategories

wordsWordHasCategoriesGet

Categories of the parameter word.


/words/{word}/hasCategories

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/hasCategories"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HasCategoriesApi;

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

public class HasCategoriesApiExample {

    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");

        HasCategoriesApi apiInstance = new HasCategoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_14 result = apiInstance.wordsWordHasCategoriesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasCategoriesApi#wordsWordHasCategoriesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HasCategoriesApi;

public class HasCategoriesApiExample {

    public static void main(String[] args) {
        HasCategoriesApi apiInstance = new HasCategoriesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_14 result = apiInstance.wordsWordHasCategoriesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasCategoriesApi#wordsWordHasCategoriesGet");
            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 *word = word_example; // Try a Word

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

// Categories of the parameter word.
[apiInstance wordsWordHasCategoriesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_14 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.HasCategoriesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordHasCategoriesGetExample
    {
        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 HasCategoriesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Categories of the parameter word.
                inline_response_200_14 result = apiInstance.wordsWordHasCategoriesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HasCategoriesApi.wordsWordHasCategoriesGet: " + 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\HasCategoriesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::HasCategoriesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordHasCategoriesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HasCategoriesApi->wordsWordHasCategoriesGet: $@\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.HasCategoriesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Categories of the parameter word.
    api_response = api_instance.words_word_has_categories_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HasCategoriesApi->wordsWordHasCategoriesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


HasInstances

wordsWordHasInstancesGet

Words that are examples of the parameter word.


/words/{word}/hasInstances

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/hasInstances"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HasInstancesApi;

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

public class HasInstancesApiExample {

    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");

        HasInstancesApi apiInstance = new HasInstancesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_5 result = apiInstance.wordsWordHasInstancesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasInstancesApi#wordsWordHasInstancesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HasInstancesApi;

public class HasInstancesApiExample {

    public static void main(String[] args) {
        HasInstancesApi apiInstance = new HasInstancesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_5 result = apiInstance.wordsWordHasInstancesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasInstancesApi#wordsWordHasInstancesGet");
            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 *word = word_example; // Try a Word

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

// Words that are examples of the parameter word.
[apiInstance wordsWordHasInstancesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.HasInstancesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordHasInstancesGetExample
    {
        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 HasInstancesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that are examples of the parameter word.
                inline_response_200_5 result = apiInstance.wordsWordHasInstancesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HasInstancesApi.wordsWordHasInstancesGet: " + 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\HasInstancesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::HasInstancesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordHasInstancesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HasInstancesApi->wordsWordHasInstancesGet: $@\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.HasInstancesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that are examples of the parameter word.
    api_response = api_instance.words_word_has_instances_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HasInstancesApi->wordsWordHasInstancesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


HasMembers

wordsWordHasMembersGet

Words that belong to the group defined by the parameter word.


/words/{word}/hasMembers

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/hasMembers"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HasMembersApi;

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

public class HasMembersApiExample {

    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");

        HasMembersApi apiInstance = new HasMembersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_10 result = apiInstance.wordsWordHasMembersGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasMembersApi#wordsWordHasMembersGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HasMembersApi;

public class HasMembersApiExample {

    public static void main(String[] args) {
        HasMembersApi apiInstance = new HasMembersApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_10 result = apiInstance.wordsWordHasMembersGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasMembersApi#wordsWordHasMembersGet");
            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 *word = word_example; // Try a Word

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

// Words that belong to the group defined by the parameter word.
[apiInstance wordsWordHasMembersGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.HasMembersApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordHasMembersGetExample
    {
        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 HasMembersApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that belong to the group defined by the parameter word.
                inline_response_200_10 result = apiInstance.wordsWordHasMembersGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HasMembersApi.wordsWordHasMembersGet: " + 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\HasMembersApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::HasMembersApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordHasMembersGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HasMembersApi->wordsWordHasMembersGet: $@\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.HasMembersApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that belong to the group defined by the parameter word.
    api_response = api_instance.words_word_has_members_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HasMembersApi->wordsWordHasMembersGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


HasParts

wordsWordHasPartsGet

Words that are parts of the original word.


/words/{word}/hasParts

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/hasParts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HasPartsApi;

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

public class HasPartsApiExample {

    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");

        HasPartsApi apiInstance = new HasPartsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_3 result = apiInstance.wordsWordHasPartsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasPartsApi#wordsWordHasPartsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HasPartsApi;

public class HasPartsApiExample {

    public static void main(String[] args) {
        HasPartsApi apiInstance = new HasPartsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_3 result = apiInstance.wordsWordHasPartsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasPartsApi#wordsWordHasPartsGet");
            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 *word = word_example; // Try a Word

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

// Words that are parts of the original word. 
[apiInstance wordsWordHasPartsGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.HasPartsApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordHasPartsGetExample
    {
        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 HasPartsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that are parts of the original word. 
                inline_response_200_3 result = apiInstance.wordsWordHasPartsGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HasPartsApi.wordsWordHasPartsGet: " + 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\HasPartsApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::HasPartsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordHasPartsGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HasPartsApi->wordsWordHasPartsGet: $@\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.HasPartsApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that are parts of the original word. 
    api_response = api_instance.words_word_has_parts_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HasPartsApi->wordsWordHasPartsGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


HasSubstances

wordsWordHasSubstancesGet

Words that are substances of the parameter word.


/words/{word}/hasSubstances

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/hasSubstances"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HasSubstancesApi;

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

public class HasSubstancesApiExample {

    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");

        HasSubstancesApi apiInstance = new HasSubstancesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_12 result = apiInstance.wordsWordHasSubstancesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasSubstancesApi#wordsWordHasSubstancesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HasSubstancesApi;

public class HasSubstancesApiExample {

    public static void main(String[] args) {
        HasSubstancesApi apiInstance = new HasSubstancesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_12 result = apiInstance.wordsWordHasSubstancesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasSubstancesApi#wordsWordHasSubstancesGet");
            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 *word = word_example; // Try a Word

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

// Words that are substances of the parameter word.
[apiInstance wordsWordHasSubstancesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.HasSubstancesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordHasSubstancesGetExample
    {
        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 HasSubstancesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that are substances of the parameter word.
                inline_response_200_12 result = apiInstance.wordsWordHasSubstancesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HasSubstancesApi.wordsWordHasSubstancesGet: " + 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\HasSubstancesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::HasSubstancesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordHasSubstancesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HasSubstancesApi->wordsWordHasSubstancesGet: $@\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.HasSubstancesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that are substances of the parameter word.
    api_response = api_instance.words_word_has_substances_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HasSubstancesApi->wordsWordHasSubstancesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


HasTypes

wordsWordHasTypesGet

Get more specific examples of types of this word.


/words/{word}/hasTypes

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/hasTypes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HasTypesApi;

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

public class HasTypesApiExample {

    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");

        HasTypesApi apiInstance = new HasTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_1 result = apiInstance.wordsWordHasTypesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasTypesApi#wordsWordHasTypesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HasTypesApi;

public class HasTypesApiExample {

    public static void main(String[] args) {
        HasTypesApi apiInstance = new HasTypesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_1 result = apiInstance.wordsWordHasTypesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasTypesApi#wordsWordHasTypesGet");
            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 *word = word_example; // Try a Word

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

// Get more specific examples of types of this word. 
[apiInstance wordsWordHasTypesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.HasTypesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordHasTypesGetExample
    {
        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 HasTypesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Get more specific examples of types of this word. 
                inline_response_200_1 result = apiInstance.wordsWordHasTypesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HasTypesApi.wordsWordHasTypesGet: " + 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\HasTypesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::HasTypesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordHasTypesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HasTypesApi->wordsWordHasTypesGet: $@\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.HasTypesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Get more specific examples of types of this word. 
    api_response = api_instance.words_word_has_types_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HasTypesApi->wordsWordHasTypesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


HasUsages

wordsWordHasUsagesGet

Words that are examples of the domain the original word defines.


/words/{word}/hasUsages

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/hasUsages"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HasUsagesApi;

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

public class HasUsagesApiExample {

    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");

        HasUsagesApi apiInstance = new HasUsagesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_16 result = apiInstance.wordsWordHasUsagesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasUsagesApi#wordsWordHasUsagesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HasUsagesApi;

public class HasUsagesApiExample {

    public static void main(String[] args) {
        HasUsagesApi apiInstance = new HasUsagesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_16 result = apiInstance.wordsWordHasUsagesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HasUsagesApi#wordsWordHasUsagesGet");
            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 *word = word_example; // Try a Word

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

// Words that are examples of the domain the original word defines.
[apiInstance wordsWordHasUsagesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_16 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.HasUsagesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordHasUsagesGetExample
    {
        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 HasUsagesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that are examples of the domain the original word defines.
                inline_response_200_16 result = apiInstance.wordsWordHasUsagesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HasUsagesApi.wordsWordHasUsagesGet: " + 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\HasUsagesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::HasUsagesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordHasUsagesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HasUsagesApi->wordsWordHasUsagesGet: $@\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.HasUsagesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that are examples of the domain the original word defines.
    api_response = api_instance.words_word_has_usages_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HasUsagesApi->wordsWordHasUsagesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


InCategory

wordsWordInCategoryGet

The domain category to which the original word belongs.


/words/{word}/inCategory

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/inCategory"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InCategoryApi;

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

public class InCategoryApiExample {

    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");

        InCategoryApi apiInstance = new InCategoryApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_13 result = apiInstance.wordsWordInCategoryGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InCategoryApi#wordsWordInCategoryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.InCategoryApi;

public class InCategoryApiExample {

    public static void main(String[] args) {
        InCategoryApi apiInstance = new InCategoryApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_13 result = apiInstance.wordsWordInCategoryGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InCategoryApi#wordsWordInCategoryGet");
            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 *word = word_example; // Try a Word

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

// The domain category to which the original word belongs.
[apiInstance wordsWordInCategoryGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_13 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.InCategoryApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordInCategoryGetExample
    {
        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 InCategoryApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // The domain category to which the original word belongs.
                inline_response_200_13 result = apiInstance.wordsWordInCategoryGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InCategoryApi.wordsWordInCategoryGet: " + 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\InCategoryApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::InCategoryApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordInCategoryGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InCategoryApi->wordsWordInCategoryGet: $@\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.InCategoryApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # The domain category to which the original word belongs.
    api_response = api_instance.words_word_in_category_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InCategoryApi->wordsWordInCategoryGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


InRegion

wordsWordInRegionGet

Geographical areas where the word is used.


/words/{word}/inRegion

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/inRegion"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InRegionApi;

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

public class InRegionApiExample {

    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");

        InRegionApi apiInstance = new InRegionApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_17 result = apiInstance.wordsWordInRegionGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InRegionApi#wordsWordInRegionGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.InRegionApi;

public class InRegionApiExample {

    public static void main(String[] args) {
        InRegionApi apiInstance = new InRegionApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_17 result = apiInstance.wordsWordInRegionGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InRegionApi#wordsWordInRegionGet");
            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 *word = word_example; // Try a Word

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

// Geographical areas where the word is used.
[apiInstance wordsWordInRegionGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_17 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.InRegionApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordInRegionGetExample
    {
        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 InRegionApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Geographical areas where the word is used.
                inline_response_200_17 result = apiInstance.wordsWordInRegionGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InRegionApi.wordsWordInRegionGet: " + 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\InRegionApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::InRegionApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordInRegionGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InRegionApi->wordsWordInRegionGet: $@\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.InRegionApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Geographical areas where the word is used.
    api_response = api_instance.words_word_in_region_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InRegionApi->wordsWordInRegionGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


IsATypeOf

wordsWordTypeOfGet

Finds word that are more general than the given word.


/words/{word}/typeOf

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/typeOf"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IsATypeOfApi;

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

public class IsATypeOfApiExample {

    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");

        IsATypeOfApi apiInstance = new IsATypeOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200 result = apiInstance.wordsWordTypeOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IsATypeOfApi#wordsWordTypeOfGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IsATypeOfApi;

public class IsATypeOfApiExample {

    public static void main(String[] args) {
        IsATypeOfApi apiInstance = new IsATypeOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200 result = apiInstance.wordsWordTypeOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IsATypeOfApi#wordsWordTypeOfGet");
            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 *word = word_example; // Try a Word

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

// Finds word that are more general than the given word. 
[apiInstance wordsWordTypeOfGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.IsATypeOfApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordTypeOfGetExample
    {
        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 IsATypeOfApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Finds word that are more general than the given word. 
                inline_response_200 result = apiInstance.wordsWordTypeOfGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IsATypeOfApi.wordsWordTypeOfGet: " + 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\IsATypeOfApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::IsATypeOfApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordTypeOfGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IsATypeOfApi->wordsWordTypeOfGet: $@\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.IsATypeOfApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Finds word that are more general than the given word. 
    api_response = api_instance.words_word_type_of_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IsATypeOfApi->wordsWordTypeOfGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


IsAnInstanceOf

wordsWordInstanceOfGet

Words that the parameter word is an example of.


/words/{word}/instanceOf

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/instanceOf"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.IsAnInstanceOfApi;

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

public class IsAnInstanceOfApiExample {

    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");

        IsAnInstanceOfApi apiInstance = new IsAnInstanceOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_4 result = apiInstance.wordsWordInstanceOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IsAnInstanceOfApi#wordsWordInstanceOfGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.IsAnInstanceOfApi;

public class IsAnInstanceOfApiExample {

    public static void main(String[] args) {
        IsAnInstanceOfApi apiInstance = new IsAnInstanceOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_4 result = apiInstance.wordsWordInstanceOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling IsAnInstanceOfApi#wordsWordInstanceOfGet");
            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 *word = word_example; // Try a Word

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

// Words that the parameter word is an example of.
[apiInstance wordsWordInstanceOfGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.IsAnInstanceOfApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordInstanceOfGetExample
    {
        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 IsAnInstanceOfApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that the parameter word is an example of.
                inline_response_200_4 result = apiInstance.wordsWordInstanceOfGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling IsAnInstanceOfApi.wordsWordInstanceOfGet: " + 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\IsAnInstanceOfApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::IsAnInstanceOfApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordInstanceOfGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling IsAnInstanceOfApi->wordsWordInstanceOfGet: $@\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.IsAnInstanceOfApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that the parameter word is an example of.
    api_response = api_instance.words_word_instance_of_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling IsAnInstanceOfApi->wordsWordInstanceOfGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


MemberOf

wordsWordMemberOfGet

A group to which the word belongs.


/words/{word}/memberOf

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/memberOf"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MemberOfApi;

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

public class MemberOfApiExample {

    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");

        MemberOfApi apiInstance = new MemberOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_9 result = apiInstance.wordsWordMemberOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MemberOfApi#wordsWordMemberOfGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MemberOfApi;

public class MemberOfApiExample {

    public static void main(String[] args) {
        MemberOfApi apiInstance = new MemberOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_9 result = apiInstance.wordsWordMemberOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MemberOfApi#wordsWordMemberOfGet");
            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 *word = word_example; // Try a Word

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

// A group to which the word belongs.
[apiInstance wordsWordMemberOfGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.MemberOfApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordMemberOfGetExample
    {
        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 MemberOfApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // A group to which the word belongs.
                inline_response_200_9 result = apiInstance.wordsWordMemberOfGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MemberOfApi.wordsWordMemberOfGet: " + 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\MemberOfApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::MemberOfApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordMemberOfGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MemberOfApi->wordsWordMemberOfGet: $@\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.MemberOfApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # A group to which the word belongs.
    api_response = api_instance.words_word_member_of_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MemberOfApi->wordsWordMemberOfGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


PartOf

wordsWordPartOfGet

The larger whole to which the word belongs.


/words/{word}/partOf

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/partOf"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartOfApi;

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

public class PartOfApiExample {

    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");

        PartOfApi apiInstance = new PartOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_2 result = apiInstance.wordsWordPartOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartOfApi#wordsWordPartOfGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartOfApi;

public class PartOfApiExample {

    public static void main(String[] args) {
        PartOfApi apiInstance = new PartOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_2 result = apiInstance.wordsWordPartOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartOfApi#wordsWordPartOfGet");
            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 *word = word_example; // Try a Word

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

// The larger whole to which the word belongs. 
[apiInstance wordsWordPartOfGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.PartOfApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordPartOfGetExample
    {
        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 PartOfApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // The larger whole to which the word belongs. 
                inline_response_200_2 result = apiInstance.wordsWordPartOfGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartOfApi.wordsWordPartOfGet: " + 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\PartOfApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::PartOfApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordPartOfGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PartOfApi->wordsWordPartOfGet: $@\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.PartOfApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # The larger whole to which the word belongs. 
    api_response = api_instance.words_word_part_of_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartOfApi->wordsWordPartOfGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


PartainsTo

wordsWordPartainsToGet

Words to which the original word is relevant.


/words/{word}/partainsTo

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/partainsTo"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PartainsToApi;

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

public class PartainsToApiExample {

    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");

        PartainsToApi apiInstance = new PartainsToApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_19 result = apiInstance.wordsWordPartainsToGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartainsToApi#wordsWordPartainsToGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PartainsToApi;

public class PartainsToApiExample {

    public static void main(String[] args) {
        PartainsToApi apiInstance = new PartainsToApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_19 result = apiInstance.wordsWordPartainsToGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PartainsToApi#wordsWordPartainsToGet");
            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 *word = word_example; // Try a Word

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

// Words to which the original word is relevant.
[apiInstance wordsWordPartainsToGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_19 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.PartainsToApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordPartainsToGetExample
    {
        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 PartainsToApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words to which the original word is relevant.
                inline_response_200_19 result = apiInstance.wordsWordPartainsToGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PartainsToApi.wordsWordPartainsToGet: " + 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\PartainsToApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::PartainsToApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordPartainsToGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PartainsToApi->wordsWordPartainsToGet: $@\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.PartainsToApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words to which the original word is relevant.
    api_response = api_instance.words_word_partains_to_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PartainsToApi->wordsWordPartainsToGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Pronunciation

wordsWordPronunciationGet

How to pronounce a word, according to the International Phonetic Alphabet. May include multiple results if the word is pronounced differently depending on its part of speech.


/words/{word}/pronunciation

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/pronunciation"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PronunciationApi;

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

public class PronunciationApiExample {

    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");

        PronunciationApi apiInstance = new PronunciationApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_27 result = apiInstance.wordsWordPronunciationGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PronunciationApi#wordsWordPronunciationGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PronunciationApi;

public class PronunciationApiExample {

    public static void main(String[] args) {
        PronunciationApi apiInstance = new PronunciationApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_27 result = apiInstance.wordsWordPronunciationGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PronunciationApi#wordsWordPronunciationGet");
            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 *word = word_example; // Try a Word

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

// How to pronounce a word, according to the International Phonetic Alphabet. May include multiple results if the word is pronounced differently depending on its part of speech.
[apiInstance wordsWordPronunciationGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_27 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.PronunciationApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordPronunciationGetExample
    {
        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 PronunciationApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // How to pronounce a word, according to the International Phonetic Alphabet. May include multiple results if the word is pronounced differently depending on its part of speech.
                inline_response_200_27 result = apiInstance.wordsWordPronunciationGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PronunciationApi.wordsWordPronunciationGet: " + 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\PronunciationApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::PronunciationApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordPronunciationGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PronunciationApi->wordsWordPronunciationGet: $@\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.PronunciationApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # How to pronounce a word, according to the International Phonetic Alphabet. May include multiple results if the word is pronounced differently depending on its part of speech.
    api_response = api_instance.words_word_pronunciation_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PronunciationApi->wordsWordPronunciationGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


RegionOf

wordsWordRegionOfGet

Words used in the specified geographical area.


/words/{word}/regionOf

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/regionOf"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RegionOfApi;

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

public class RegionOfApiExample {

    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");

        RegionOfApi apiInstance = new RegionOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_18 result = apiInstance.wordsWordRegionOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RegionOfApi#wordsWordRegionOfGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RegionOfApi;

public class RegionOfApiExample {

    public static void main(String[] args) {
        RegionOfApi apiInstance = new RegionOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_18 result = apiInstance.wordsWordRegionOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RegionOfApi#wordsWordRegionOfGet");
            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 *word = word_example; // Try a Word

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

// Words used in the specified geographical area.
[apiInstance wordsWordRegionOfGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_18 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.RegionOfApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordRegionOfGetExample
    {
        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 RegionOfApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words used in the specified geographical area.
                inline_response_200_18 result = apiInstance.wordsWordRegionOfGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RegionOfApi.wordsWordRegionOfGet: " + 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\RegionOfApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::RegionOfApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordRegionOfGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RegionOfApi->wordsWordRegionOfGet: $@\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.RegionOfApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words used in the specified geographical area.
    api_response = api_instance.words_word_region_of_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RegionOfApi->wordsWordRegionOfGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Rhymes

wordsWordRhymesGet

Get a list of words that rhyme with the given word.


/words/{word}/rhymes

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/rhymes"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RhymesApi;

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

public class RhymesApiExample {

    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");

        RhymesApi apiInstance = new RhymesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_26 result = apiInstance.wordsWordRhymesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RhymesApi#wordsWordRhymesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RhymesApi;

public class RhymesApiExample {

    public static void main(String[] args) {
        RhymesApi apiInstance = new RhymesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_26 result = apiInstance.wordsWordRhymesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RhymesApi#wordsWordRhymesGet");
            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 *word = word_example; // Try a Word

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

// Get a list of words that rhyme with the given word.
[apiInstance wordsWordRhymesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_26 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.RhymesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordRhymesGetExample
    {
        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 RhymesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Get a list of words that rhyme with the given word.
                inline_response_200_26 result = apiInstance.wordsWordRhymesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RhymesApi.wordsWordRhymesGet: " + 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\RhymesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::RhymesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordRhymesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RhymesApi->wordsWordRhymesGet: $@\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.RhymesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Get a list of words that rhyme with the given word.
    api_response = api_instance.words_word_rhymes_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RhymesApi->wordsWordRhymesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


SimilarTo

wordsWordSimilarToGet

Words that similar to the original word, but are not synonyms.


/words/{word}/similarTo

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/similarTo"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SimilarToApi;

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

public class SimilarToApiExample {

    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");

        SimilarToApi apiInstance = new SimilarToApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_6 result = apiInstance.wordsWordSimilarToGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SimilarToApi#wordsWordSimilarToGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SimilarToApi;

public class SimilarToApiExample {

    public static void main(String[] args) {
        SimilarToApi apiInstance = new SimilarToApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_6 result = apiInstance.wordsWordSimilarToGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SimilarToApi#wordsWordSimilarToGet");
            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 *word = word_example; // Try a Word

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

// Words that similar to the original word, but are not synonyms.
[apiInstance wordsWordSimilarToGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.SimilarToApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordSimilarToGetExample
    {
        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 SimilarToApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that similar to the original word, but are not synonyms.
                inline_response_200_6 result = apiInstance.wordsWordSimilarToGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SimilarToApi.wordsWordSimilarToGet: " + 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\SimilarToApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::SimilarToApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordSimilarToGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SimilarToApi->wordsWordSimilarToGet: $@\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.SimilarToApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that similar to the original word, but are not synonyms.
    api_response = api_instance.words_word_similar_to_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SimilarToApi->wordsWordSimilarToGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


SubstanceOf

wordsWordSubstanceOfGet

Substances to which the original word is a part of.


/words/{word}/substanceOf

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/substanceOf"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SubstanceOfApi;

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

public class SubstanceOfApiExample {

    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");

        SubstanceOfApi apiInstance = new SubstanceOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_11 result = apiInstance.wordsWordSubstanceOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SubstanceOfApi#wordsWordSubstanceOfGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SubstanceOfApi;

public class SubstanceOfApiExample {

    public static void main(String[] args) {
        SubstanceOfApi apiInstance = new SubstanceOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_11 result = apiInstance.wordsWordSubstanceOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SubstanceOfApi#wordsWordSubstanceOfGet");
            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 *word = word_example; // Try a Word

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

// Substances to which the original word is a part of.
[apiInstance wordsWordSubstanceOfGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.SubstanceOfApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordSubstanceOfGetExample
    {
        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 SubstanceOfApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Substances to which the original word is a part of.
                inline_response_200_11 result = apiInstance.wordsWordSubstanceOfGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SubstanceOfApi.wordsWordSubstanceOfGet: " + 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\SubstanceOfApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::SubstanceOfApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordSubstanceOfGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SubstanceOfApi->wordsWordSubstanceOfGet: $@\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.SubstanceOfApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Substances to which the original word is a part of.
    api_response = api_instance.words_word_substance_of_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SubstanceOfApi->wordsWordSubstanceOfGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Syllables

wordsWordSyllablesGet

Returns the word broken down into syllables.


/words/{word}/syllables

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/syllables"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SyllablesApi;

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

public class SyllablesApiExample {

    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");

        SyllablesApi apiInstance = new SyllablesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_28 result = apiInstance.wordsWordSyllablesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SyllablesApi#wordsWordSyllablesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SyllablesApi;

public class SyllablesApiExample {

    public static void main(String[] args) {
        SyllablesApi apiInstance = new SyllablesApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_28 result = apiInstance.wordsWordSyllablesGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SyllablesApi#wordsWordSyllablesGet");
            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 *word = word_example; // Try a Word

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

// Returns the word broken down into syllables.
[apiInstance wordsWordSyllablesGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_28 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.SyllablesApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordSyllablesGetExample
    {
        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 SyllablesApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Returns the word broken down into syllables.
                inline_response_200_28 result = apiInstance.wordsWordSyllablesGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SyllablesApi.wordsWordSyllablesGet: " + 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\SyllablesApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::SyllablesApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordSyllablesGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SyllablesApi->wordsWordSyllablesGet: $@\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.SyllablesApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Returns the word broken down into syllables.
    api_response = api_instance.words_word_syllables_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SyllablesApi->wordsWordSyllablesGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Synonyms

wordsWordSynonymsGet

Get synonyms of a word


/words/{word}/synonyms

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/synonyms"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SynonymsApi;

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

public class SynonymsApiExample {

    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");

        SynonymsApi apiInstance = new SynonymsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_22 result = apiInstance.wordsWordSynonymsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynonymsApi#wordsWordSynonymsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SynonymsApi;

public class SynonymsApiExample {

    public static void main(String[] args) {
        SynonymsApi apiInstance = new SynonymsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_22 result = apiInstance.wordsWordSynonymsGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynonymsApi#wordsWordSynonymsGet");
            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 *word = word_example; // Try a Word

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

// Get synonyms of a word
[apiInstance wordsWordSynonymsGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_22 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.SynonymsApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordSynonymsGetExample
    {
        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 SynonymsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Get synonyms of a word
                inline_response_200_22 result = apiInstance.wordsWordSynonymsGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SynonymsApi.wordsWordSynonymsGet: " + 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\SynonymsApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::SynonymsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordSynonymsGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SynonymsApi->wordsWordSynonymsGet: $@\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.SynonymsApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Get synonyms of a word
    api_response = api_instance.words_word_synonyms_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SynonymsApi->wordsWordSynonymsGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


UsageOf

wordsWordUsageOfGet

Words that the original word is a domain usage of.


/words/{word}/usageOf

Usage and SDK Samples

curl -X GET -H "apieco-key: [[apiKey]]" "https://api.apieco.ir/words/words/{word}/usageOf"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UsageOfApi;

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

public class UsageOfApiExample {

    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");

        UsageOfApi apiInstance = new UsageOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_15 result = apiInstance.wordsWordUsageOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsageOfApi#wordsWordUsageOfGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UsageOfApi;

public class UsageOfApiExample {

    public static void main(String[] args) {
        UsageOfApi apiInstance = new UsageOfApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_15 result = apiInstance.wordsWordUsageOfGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UsageOfApi#wordsWordUsageOfGet");
            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 *word = word_example; // Try a Word

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

// Words that the original word is a domain usage of.
[apiInstance wordsWordUsageOfGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_15 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.UsageOfApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordUsageOfGetExample
    {
        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 UsageOfApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Words that the original word is a domain usage of.
                inline_response_200_15 result = apiInstance.wordsWordUsageOfGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UsageOfApi.wordsWordUsageOfGet: " + 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\UsageOfApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::UsageOfApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordUsageOfGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UsageOfApi->wordsWordUsageOfGet: $@\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.UsageOfApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Words that the original word is a domain usage of.
    api_response = api_instance.words_word_usage_of_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UsageOfApi->wordsWordUsageOfGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input


Word

wordsWordGet

Retrieve information about a word. Results can include definitions, part of speech, synonyms, related words, syllables, and pronunciation. This method is useful to see which relationships are attached to which definition and part of speech of a word.


/words/{word}

Usage and SDK Samples

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

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

public class WordApiExample {

    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");

        WordApi apiInstance = new WordApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_20 result = apiInstance.wordsWordGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WordApi#wordsWordGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.WordApi;

public class WordApiExample {

    public static void main(String[] args) {
        WordApi apiInstance = new WordApi();
        String apiecoKey = apiecoKey_example; // String | 
        String word = word_example; // String | Try a Word
        try {
            inline_response_200_20 result = apiInstance.wordsWordGet(apiecoKey, word);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling WordApi#wordsWordGet");
            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 *word = word_example; // Try a Word

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

// Retrieve information about a word. Results can include definitions, part of speech, synonyms, related words, syllables, and pronunciation. This method is useful to see which relationships are attached to which definition and part of speech of a word.
[apiInstance wordsWordGetWith:apiecoKey
    word:word
              completionHandler: ^(inline_response_200_20 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WordsApi_ = require('_words_api_');
var defaultClient = WordsApi_.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 WordsApi_.WordApi()

var apiecoKey = apiecoKey_example; // {String} 

var word = word_example; // {String} Try a Word


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

namespace Example
{
    public class wordsWordGetExample
    {
        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 WordApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var word = word_example;  // String | Try a Word

            try
            {
                // Retrieve information about a word. Results can include definitions, part of speech, synonyms, related words, syllables, and pronunciation. This method is useful to see which relationships are attached to which definition and part of speech of a word.
                inline_response_200_20 result = apiInstance.wordsWordGet(apiecoKey, word);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling WordApi.wordsWordGet: " + 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\WordApi();
$apiecoKey = apiecoKey_example; // String | 
$word = word_example; // String | Try a Word

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

# 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::WordApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $word = word_example; # String | Try a Word

eval { 
    my $result = $api_instance->wordsWordGet(apiecoKey => $apiecoKey, word => $word);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling WordApi->wordsWordGet: $@\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.WordApi()
apiecoKey = apiecoKey_example # String | 
word = word_example # String | Try a Word

try: 
    # Retrieve information about a word. Results can include definitions, part of speech, synonyms, related words, syllables, and pronunciation. This method is useful to see which relationships are attached to which definition and part of speech of a word.
    api_response = api_instance.words_word_get(apiecoKey, word)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling WordApi->wordsWordGet: %s\n" % e)

Parameters

Path parameters
Name Description
word*
String
Try a Word
Required
Header parameters
Name Description
apieco-key*
String
Required

Responses

Status: 200 - Succesfull

Status: 401 - wrong code

Status: 405 - Invalid input