apiAPICODEGet
/api/{APICODE}
Usage and SDK Samples
curl -X GET "https://api.apieco.ir/sunnyweb/api/{APICODE}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SiteApi;
import java.io.File;
import java.util.*;
public class SiteApiExample {
public static void main(String[] args) {
SiteApi apiInstance = new SiteApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String aPICODE = aPICODE_example; // String | apikey for use API
try {
apiInstance.apiAPICODEGet(apiecoKey, aPICODE);
} catch (ApiException e) {
System.err.println("Exception when calling SiteApi#apiAPICODEGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.SiteApi;
public class SiteApiExample {
public static void main(String[] args) {
SiteApi apiInstance = new SiteApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String aPICODE = aPICODE_example; // String | apikey for use API
try {
apiInstance.apiAPICODEGet(apiecoKey, aPICODE);
} catch (ApiException e) {
System.err.println("Exception when calling SiteApi#apiAPICODEGet");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *aPICODE = aPICODE_example; // apikey for use API
SiteApi *apiInstance = [[SiteApi alloc] init];
[apiInstance apiAPICODEGetWith:apiecoKey
aPICODE:aPICODE
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var SunnyWeb = require('sunny_web');
var api = new SunnyWeb.SiteApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var aPICODE = aPICODE_example; // {String} apikey for use API
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.apiAPICODEGet(apiecoKey, aPICODE, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class apiAPICODEGetExample
{
public void main()
{
var apiInstance = new SiteApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
var aPICODE = aPICODE_example; // String | apikey for use API
try
{
apiInstance.apiAPICODEGet(apiecoKey, aPICODE);
}
catch (Exception e)
{
Debug.Print("Exception when calling SiteApi.apiAPICODEGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\SiteApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$aPICODE = aPICODE_example; // String | apikey for use API
try {
$api_instance->apiAPICODEGet($apiecoKey, $aPICODE);
} catch (Exception $e) {
echo 'Exception when calling SiteApi->apiAPICODEGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SiteApi;
my $api_instance = WWW::SwaggerClient::SiteApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $aPICODE = aPICODE_example; # String | apikey for use API
eval {
$api_instance->apiAPICODEGet(apiecoKey => $apiecoKey, aPICODE => $aPICODE);
};
if ($@) {
warn "Exception when calling SiteApi->apiAPICODEGet: $@\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.SiteApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
aPICODE = aPICODE_example # String | apikey for use API
try:
api_instance.api_apicode_get(apiecoKey, aPICODE)
except ApiException as e:
print("Exception when calling SiteApi->apiAPICODEGet: %s\n" % e)
Parameters
Path parameters
Name | Description |
---|---|
APICODE* |
String
apikey for use API
Required
|
Header parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|