hubble
get the link of picture and descriptins by day
/apitalk/hubble-api/info/
Usage and SDK Samples
curl -X POST "https://api.apieco.ir/apitalk/hubble-api/info/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HubbleApi;
import java.io.File;
import java.util.*;
public class HubbleApiExample {
public static void main(String[] args) {
HubbleApi apiInstance = new HubbleApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String date = date_example; // String | The date like (28-Feb)
try {
info_response result = apiInstance.hubble(apiecoKey, date);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HubbleApi#hubble");
e.printStackTrace();
}
}
}
import io.swagger.client.api.HubbleApi;
public class HubbleApiExample {
public static void main(String[] args) {
HubbleApi apiInstance = new HubbleApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String date = date_example; // String | The date like (28-Feb)
try {
info_response result = apiInstance.hubble(apiecoKey, date);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HubbleApi#hubble");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *date = date_example; // The date like (28-Feb)
HubbleApi *apiInstance = [[HubbleApi alloc] init];
// get the link of picture and descriptins by day
[apiInstance hubbleWith:apiecoKey
date:date
completionHandler: ^(info_response output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var HubbleApi = require('hubble_api');
var api = new HubbleApi.HubbleApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var date = date_example; // {String} The date like (28-Feb)
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.hubble(apiecoKey, date, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class hubbleExample
{
public void main()
{
var apiInstance = new HubbleApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API
var date = date_example; // String | The date like (28-Feb)
try
{
// get the link of picture and descriptins by day
info_response result = apiInstance.hubble(apiecoKey, date);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling HubbleApi.hubble: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\HubbleApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$date = date_example; // String | The date like (28-Feb)
try {
$result = $api_instance->hubble($apiecoKey, $date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling HubbleApi->hubble: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::HubbleApi;
my $api_instance = WWW::SwaggerClient::HubbleApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $date = date_example; # String | The date like (28-Feb)
eval {
my $result = $api_instance->hubble(apiecoKey => $apiecoKey, date => $date);
print Dumper($result);
};
if ($@) {
warn "Exception when calling HubbleApi->hubble: $@\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.HubbleApi()
apiecoKey = apiecoKey_example # String | apikey for use API
date = date_example # String | The date like (28-Feb)
try:
# get the link of picture and descriptins by day
api_response = api_instance.hubble(apiecoKey, date)
pprint(api_response)
except ApiException as e:
print("Exception when calling HubbleApi->hubble: %s\n" % e)
Parameters
Header parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|
Form parameters
Name | Description |
---|---|
Date* |
String
The date like (28-Feb)
Required
|