mlemID
Returns one mlem image by ID in JSON
/mlemid
Usage and SDK Samples
curl -X GET "https://api.apieco.ir/mlem/mlemid?Mlem ID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MlemIDApi;
import java.io.File;
import java.util.*;
public class MlemIDApiExample {
public static void main(String[] args) {
MlemIDApi apiInstance = new MlemIDApi();
String apiecoKey = apiecoKey_example; // String |
BigDecimal mlem ID = 8.14; // BigDecimal | Mlem ID
try {
inline_response_200 result = apiInstance.mlemID(apiecoKey, mlem ID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MlemIDApi#mlemID");
e.printStackTrace();
}
}
}
import io.swagger.client.api.MlemIDApi;
public class MlemIDApiExample {
public static void main(String[] args) {
MlemIDApi apiInstance = new MlemIDApi();
String apiecoKey = apiecoKey_example; // String |
BigDecimal mlem ID = 8.14; // BigDecimal | Mlem ID
try {
inline_response_200 result = apiInstance.mlemID(apiecoKey, mlem ID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MlemIDApi#mlemID");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; //
BigDecimal *mlem ID = 8.14; // Mlem ID
MlemIDApi *apiInstance = [[MlemIDApi alloc] init];
[apiInstance mlemIDWith:apiecoKey
mlem ID:mlem ID
completionHandler: ^(inline_response_200 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var MlemApiApiDocumentation = require('mlem_api_api_documentation');
var api = new MlemApiApiDocumentation.MlemIDApi()
var apiecoKey = apiecoKey_example; // {String}
var mlem ID = 8.14; // {BigDecimal} Mlem ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.mlemID(apiecoKey, mlem ID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class mlemIDExample
{
public void main()
{
var apiInstance = new MlemIDApi();
var apiecoKey = apiecoKey_example; // String |
var mlem ID = 8.14; // BigDecimal | Mlem ID
try
{
inline_response_200 result = apiInstance.mlemID(apiecoKey, mlem ID);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling MlemIDApi.mlemID: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\MlemIDApi();
$apiecoKey = apiecoKey_example; // String |
$mlem ID = 8.14; // BigDecimal | Mlem ID
try {
$result = $api_instance->mlemID($apiecoKey, $mlem ID);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MlemIDApi->mlemID: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MlemIDApi;
my $api_instance = WWW::SwaggerClient::MlemIDApi->new();
my $apiecoKey = apiecoKey_example; # String |
my $mlem ID = 8.14; # BigDecimal | Mlem ID
eval {
my $result = $api_instance->mlemID(apiecoKey => $apiecoKey, mlem ID => $mlem ID);
print Dumper($result);
};
if ($@) {
warn "Exception when calling MlemIDApi->mlemID: $@\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.MlemIDApi()
apiecoKey = apiecoKey_example # String |
mlem ID = 8.14 # BigDecimal | Mlem ID
try:
api_response = api_instance.mlem_id(apiecoKey, mlem ID)
pprint(api_response)
except ApiException as e:
print("Exception when calling MlemIDApi->mlemID: %s\n" % e)
Parameters
Header parameters
Name | Description |
---|---|
apieco-key* |
String
Required
|
Query parameters
Name | Description |
---|---|
Mlem ID* |
BigDecimal
Mlem ID
Required
|