findByIdOnCode
find a tag on your cod by id
/apitalk/beautiful-soap/find_by_id/OnCode
Usage and SDK Samples
curl -X POST "https://api.apieco.ir/apitalk/beautiful-soap/find_by_id/OnCode"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FindByIdApi;
import java.io.File;
import java.util.*;
public class FindByIdApiExample {
public static void main(String[] args) {
FindByIdApi apiInstance = new FindByIdApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String hTMLCode = hTMLCode_example; // String | your Html code
String iD = iD_example; // String | your Html code
try {
response result = apiInstance.findByIdOnCode(apiecoKey, hTMLCode, iD);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FindByIdApi#findByIdOnCode");
e.printStackTrace();
}
}
}
import io.swagger.client.api.FindByIdApi;
public class FindByIdApiExample {
public static void main(String[] args) {
FindByIdApi apiInstance = new FindByIdApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String hTMLCode = hTMLCode_example; // String | your Html code
String iD = iD_example; // String | your Html code
try {
response result = apiInstance.findByIdOnCode(apiecoKey, hTMLCode, iD);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FindByIdApi#findByIdOnCode");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *hTMLCode = hTMLCode_example; // your Html code
String *iD = iD_example; // your Html code
FindByIdApi *apiInstance = [[FindByIdApi alloc] init];
// find a tag on your cod by id
[apiInstance findByIdOnCodeWith:apiecoKey
hTMLCode:hTMLCode
iD:iD
completionHandler: ^(response output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var BeautifulSoupApi = require('beautiful_soup_api');
var api = new BeautifulSoupApi.FindByIdApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var hTMLCode = hTMLCode_example; // {String} your Html code
var iD = iD_example; // {String} your Html code
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.findByIdOnCode(apiecoKey, hTMLCode, iD, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class findByIdOnCodeExample
{
public void main()
{
var apiInstance = new FindByIdApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API
var hTMLCode = hTMLCode_example; // String | your Html code
var iD = iD_example; // String | your Html code
try
{
// find a tag on your cod by id
response result = apiInstance.findByIdOnCode(apiecoKey, hTMLCode, iD);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling FindByIdApi.findByIdOnCode: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\FindByIdApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$hTMLCode = hTMLCode_example; // String | your Html code
$iD = iD_example; // String | your Html code
try {
$result = $api_instance->findByIdOnCode($apiecoKey, $hTMLCode, $iD);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FindByIdApi->findByIdOnCode: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::FindByIdApi;
my $api_instance = WWW::SwaggerClient::FindByIdApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $hTMLCode = hTMLCode_example; # String | your Html code
my $iD = iD_example; # String | your Html code
eval {
my $result = $api_instance->findByIdOnCode(apiecoKey => $apiecoKey, hTMLCode => $hTMLCode, iD => $iD);
print Dumper($result);
};
if ($@) {
warn "Exception when calling FindByIdApi->findByIdOnCode: $@\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.FindByIdApi()
apiecoKey = apiecoKey_example # String | apikey for use API
hTMLCode = hTMLCode_example # String | your Html code
iD = iD_example # String | your Html code
try:
# find a tag on your cod by id
api_response = api_instance.find_by_id_on_code(apiecoKey, hTMLCode, iD)
pprint(api_response)
except ApiException as e:
print("Exception when calling FindByIdApi->findByIdOnCode: %s\n" % e)
Parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|
Name | Description |
---|---|
HTML_Code* |
String
your Html code
Required
|
ID* |
String
your Html code
Required
|