keyword-mining-api

GetKeyword

getColorsSearch

from a URL you can get keywords


/apitalk/keyword-mining/keywords_from_url

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/keyword-mining/keywords_from_url"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GetKeywordApi;

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

public class GetKeywordApiExample {

    public static void main(String[] args) {
        
        GetKeywordApi apiInstance = new GetKeywordApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String url = url_example; // String | send your url
        Integer hits = 56; // Integer | count of keyword you want
        try {
            response result = apiInstance.getColorsSearch(apiecoKey, url, hits);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GetKeywordApi#getColorsSearch");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GetKeywordApi;

public class GetKeywordApiExample {

    public static void main(String[] args) {
        GetKeywordApi apiInstance = new GetKeywordApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String url = url_example; // String | send your url
        Integer hits = 56; // Integer | count of keyword you want
        try {
            response result = apiInstance.getColorsSearch(apiecoKey, url, hits);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GetKeywordApi#getColorsSearch");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *url = url_example; // send your url
Integer *hits = 56; // count of keyword you want

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

// from a URL you can get keywords 
[apiInstance getColorsSearchWith:apiecoKey
    url:url
    hits:hits
              completionHandler: ^(response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var KeywordMiningApi = require('keyword_mining_api');

var api = new KeywordMiningApi.GetKeywordApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var url = url_example; // {String} send your url

var hits = 56; // {Integer} count of keyword you want


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

namespace Example
{
    public class getColorsSearchExample
    {
        public void main()
        {
            
            var apiInstance = new GetKeywordApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var url = url_example;  // String | send your url
            var hits = 56;  // Integer | count of keyword you want

            try
            {
                // from a URL you can get keywords 
                response result = apiInstance.getColorsSearch(apiecoKey, url, hits);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GetKeywordApi.getColorsSearch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GetKeywordApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$url = url_example; // String | send your url
$hits = 56; // Integer | count of keyword you want

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

my $api_instance = WWW::SwaggerClient::GetKeywordApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $url = url_example; # String | send your url
my $hits = 56; # Integer | count of keyword you want

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

# create an instance of the API class
api_instance = swagger_client.GetKeywordApi()
apiecoKey = apiecoKey_example # String | apikey for use API
url = url_example # String | send your url
hits = 56 # Integer | count of keyword you want

try: 
    # from a URL you can get keywords 
    api_response = api_instance.get_colors_search(apiecoKey, url, hits)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GetKeywordApi->getColorsSearch: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
url*
String
send your url
Required
hits*
Integer
count of keyword you want
Required

Responses

Status: 200 - This REST API return HTTP responses in list of this JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error


getMiningKeywordsFromText

from a text you can get keywords


/apitalk/keyword-mining/keywords_from_text

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/keyword-mining/keywords_from_text"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.GetKeywordApi;

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

public class GetKeywordApiExample {

    public static void main(String[] args) {
        
        GetKeywordApi apiInstance = new GetKeywordApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String text = text_example; // String | send your text
        Integer hits = 56; // Integer | count of keyword you want
        try {
            response result = apiInstance.getMiningKeywordsFromText(apiecoKey, text, hits);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GetKeywordApi#getMiningKeywordsFromText");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.GetKeywordApi;

public class GetKeywordApiExample {

    public static void main(String[] args) {
        GetKeywordApi apiInstance = new GetKeywordApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String text = text_example; // String | send your text
        Integer hits = 56; // Integer | count of keyword you want
        try {
            response result = apiInstance.getMiningKeywordsFromText(apiecoKey, text, hits);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling GetKeywordApi#getMiningKeywordsFromText");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *text = text_example; // send your text
Integer *hits = 56; // count of keyword you want

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

// from a text you can get keywords 
[apiInstance getMiningKeywordsFromTextWith:apiecoKey
    text:text
    hits:hits
              completionHandler: ^(response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var KeywordMiningApi = require('keyword_mining_api');

var api = new KeywordMiningApi.GetKeywordApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var text = text_example; // {String} send your text

var hits = 56; // {Integer} count of keyword you want


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

namespace Example
{
    public class getMiningKeywordsFromTextExample
    {
        public void main()
        {
            
            var apiInstance = new GetKeywordApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var text = text_example;  // String | send your text
            var hits = 56;  // Integer | count of keyword you want

            try
            {
                // from a text you can get keywords 
                response result = apiInstance.getMiningKeywordsFromText(apiecoKey, text, hits);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling GetKeywordApi.getMiningKeywordsFromText: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\GetKeywordApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$text = text_example; // String | send your text
$hits = 56; // Integer | count of keyword you want

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

my $api_instance = WWW::SwaggerClient::GetKeywordApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $text = text_example; # String | send your text
my $hits = 56; # Integer | count of keyword you want

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

# create an instance of the API class
api_instance = swagger_client.GetKeywordApi()
apiecoKey = apiecoKey_example # String | apikey for use API
text = text_example # String | send your text
hits = 56 # Integer | count of keyword you want

try: 
    # from a text you can get keywords 
    api_response = api_instance.get_mining_keywords_from_text(apiecoKey, text, hits)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling GetKeywordApi->getMiningKeywordsFromText: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
text*
String
send your text
Required
hits*
Integer
count of keyword you want
Required

Responses

Status: 200 - This REST API return HTTP responses in list of this JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error