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
|