NASA API

APOD

aPOD

One of the most popular websites at NASA is the Astronomy Picture of the Day. In fact, this website is one of the most popular websites across all federal agencies. It has the popular appeal of a Justin Bieber video. This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. In addition, if the concept_tags parameter is set to True, then keywords derived from the image explanation are returned. These keywords could be used as auto-generated hashtags for twitter or instagram feeds; but generally help with discoverability of relevant imagery.


/planetary/apod

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/planetary/apod?api_key=&date=&hd="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APODApi;

import java.io.File;
import java.util.*;

public class APODApiExample {

    public static void main(String[] args) {
        
        APODApi apiInstance = new APODApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        date date = 2013-10-20; // date | The date of the APOD image to retrieve
        Boolean hd = true; // Boolean | Retrieve the URL for the high resolution image
        try {
            File result = apiInstance.aPOD(apiecoKey, apiKey, date, hd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APODApi#aPOD");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APODApi;

public class APODApiExample {

    public static void main(String[] args) {
        APODApi apiInstance = new APODApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        date date = 2013-10-20; // date | The date of the APOD image to retrieve
        Boolean hd = true; // Boolean | Retrieve the URL for the high resolution image
        try {
            File result = apiInstance.aPOD(apiecoKey, apiKey, date, hd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APODApi#aPOD");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
date *date = 2013-10-20; // The date of the APOD image to retrieve (default to today)
Boolean *hd = true; // Retrieve the URL for the high resolution image (default to false)

APODApi *apiInstance = [[APODApi alloc] init];

[apiInstance aPODWith:apiecoKey
    apiKey:apiKey
    date:date
    hd:hd
              completionHandler: ^(File output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.APODApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var date = 2013-10-20; // {date} The date of the APOD image to retrieve

var hd = true; // {Boolean} Retrieve the URL for the high resolution image


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.aPOD(apiecoKey, apiKey, date, hd, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class aPODExample
    {
        public void main()
        {
            
            var apiInstance = new APODApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var date = 2013-10-20;  // date | The date of the APOD image to retrieve (default to today)
            var hd = true;  // Boolean | Retrieve the URL for the high resolution image (default to false)

            try
            {
                File result = apiInstance.aPOD(apiecoKey, apiKey, date, hd);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APODApi.aPOD: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\APODApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$date = 2013-10-20; // date | The date of the APOD image to retrieve
$hd = true; // Boolean | Retrieve the URL for the high resolution image

try {
    $result = $api_instance->aPOD($apiecoKey, $apiKey, $date, $hd);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling APODApi->aPOD: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::APODApi;

my $api_instance = WWW::SwaggerClient::APODApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $date = 2013-10-20; # date | The date of the APOD image to retrieve
my $hd = true; # Boolean | Retrieve the URL for the high resolution image

eval { 
    my $result = $api_instance->aPOD(apiecoKey => $apiecoKey, apiKey => $apiKey, date => $date, hd => $hd);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling APODApi->aPOD: $@\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.APODApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
date = 2013-10-20 # date | The date of the APOD image to retrieve (default to today)
hd = true # Boolean | Retrieve the URL for the high resolution image (default to false)

try: 
    api_response = api_instance.a_pod(apiecoKey, apiKey, date, hd)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APODApi->aPOD: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
date*
date (date)
The date of the APOD image to retrieve
Required
hd*
Boolean
Retrieve the URL for the high resolution image
Required

Responses

Status: 200 - Successful


AsteroidsNeoWs

neoBrowse

Neo - Browse

Browse the overall Asteroid data-set


/neo/rest/v1/neo/browse

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/neo/rest/v1/neo/browse?api_key="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AsteroidsNeoWsApi;

import java.io.File;
import java.util.*;

public class AsteroidsNeoWsApiExample {

    public static void main(String[] args) {
        
        AsteroidsNeoWsApi apiInstance = new AsteroidsNeoWsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        try {
            inline_response_200_1 result = apiInstance.neoBrowse(apiecoKey, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AsteroidsNeoWsApi#neoBrowse");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AsteroidsNeoWsApi;

public class AsteroidsNeoWsApiExample {

    public static void main(String[] args) {
        AsteroidsNeoWsApi apiInstance = new AsteroidsNeoWsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        try {
            inline_response_200_1 result = apiInstance.neoBrowse(apiecoKey, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AsteroidsNeoWsApi#neoBrowse");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)

AsteroidsNeoWsApi *apiInstance = [[AsteroidsNeoWsApi alloc] init];

// Neo - Browse
[apiInstance neoBrowseWith:apiecoKey
    apiKey:apiKey
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.AsteroidsNeoWsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.neoBrowse(apiecoKey, apiKey, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class neoBrowseExample
    {
        public void main()
        {
            
            var apiInstance = new AsteroidsNeoWsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)

            try
            {
                // Neo - Browse
                inline_response_200_1 result = apiInstance.neoBrowse(apiecoKey, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AsteroidsNeoWsApi.neoBrowse: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AsteroidsNeoWsApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value

try {
    $result = $api_instance->neoBrowse($apiecoKey, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AsteroidsNeoWsApi->neoBrowse: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AsteroidsNeoWsApi;

my $api_instance = WWW::SwaggerClient::AsteroidsNeoWsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value

eval { 
    my $result = $api_instance->neoBrowse(apiecoKey => $apiecoKey, apiKey => $apiKey);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AsteroidsNeoWsApi->neoBrowse: $@\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.AsteroidsNeoWsApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)

try: 
    # Neo - Browse
    api_response = api_instance.neo_browse(apiecoKey, apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AsteroidsNeoWsApi->neoBrowse: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required

Responses

Status: 200 - Successful


neoFeed

Neo - Feed

Retrieve a list of Asteroids based on their closest approach date to Earth


/neo/rest/v1/feed

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/neo/rest/v1/feed?api_key=&start_date=&end_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AsteroidsNeoWsApi;

import java.io.File;
import java.util.*;

public class AsteroidsNeoWsApiExample {

    public static void main(String[] args) {
        
        AsteroidsNeoWsApi apiInstance = new AsteroidsNeoWsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        date startDate = 2013-10-20; // date | Starting date for asteroid search
        String endDate = endDate_example; // String | Ending date for asteroid search
        try {
            inline_response_200 result = apiInstance.neoFeed(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AsteroidsNeoWsApi#neoFeed");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AsteroidsNeoWsApi;

public class AsteroidsNeoWsApiExample {

    public static void main(String[] args) {
        AsteroidsNeoWsApi apiInstance = new AsteroidsNeoWsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        date startDate = 2013-10-20; // date | Starting date for asteroid search
        String endDate = endDate_example; // String | Ending date for asteroid search
        try {
            inline_response_200 result = apiInstance.neoFeed(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AsteroidsNeoWsApi#neoFeed");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
date *startDate = 2013-10-20; // Starting date for asteroid search (default to none)
String *endDate = endDate_example; // Ending date for asteroid search (default to 7 days after start_date)

AsteroidsNeoWsApi *apiInstance = [[AsteroidsNeoWsApi alloc] init];

// Neo - Feed
[apiInstance neoFeedWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.AsteroidsNeoWsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var startDate = 2013-10-20; // {date} Starting date for asteroid search

var endDate = endDate_example; // {String} Ending date for asteroid search


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.neoFeed(apiecoKey, apiKey, startDate, endDate, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class neoFeedExample
    {
        public void main()
        {
            
            var apiInstance = new AsteroidsNeoWsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = 2013-10-20;  // date | Starting date for asteroid search (default to none)
            var endDate = endDate_example;  // String | Ending date for asteroid search (default to 7 days after start_date)

            try
            {
                // Neo - Feed
                inline_response_200 result = apiInstance.neoFeed(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AsteroidsNeoWsApi.neoFeed: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AsteroidsNeoWsApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = 2013-10-20; // date | Starting date for asteroid search
$endDate = endDate_example; // String | Ending date for asteroid search

try {
    $result = $api_instance->neoFeed($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AsteroidsNeoWsApi->neoFeed: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AsteroidsNeoWsApi;

my $api_instance = WWW::SwaggerClient::AsteroidsNeoWsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = 2013-10-20; # date | Starting date for asteroid search
my $endDate = endDate_example; # String | Ending date for asteroid search

eval { 
    my $result = $api_instance->neoFeed(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AsteroidsNeoWsApi->neoFeed: $@\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.AsteroidsNeoWsApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = 2013-10-20 # date | Starting date for asteroid search (default to none)
endDate = endDate_example # String | Ending date for asteroid search (default to 7 days after start_date)

try: 
    # Neo - Feed
    api_response = api_instance.neo_feed(apiecoKey, apiKey, startDate, endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AsteroidsNeoWsApi->neoFeed: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
start_date*
date (date)
Starting date for asteroid search
Required
end_date*
String
Ending date for asteroid search
Required

Responses

Status: 200 - Successful


neoLookUp

Neo - Lookup

Retrieve a list of Asteroids based on their closest approach date to Earth


/neo/rest/v1/neo/{asteroid_id}

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/neo/rest/v1/neo/{asteroid_id}?api_key="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AsteroidsNeoWsApi;

import java.io.File;
import java.util.*;

public class AsteroidsNeoWsApiExample {

    public static void main(String[] args) {
        
        AsteroidsNeoWsApi apiInstance = new AsteroidsNeoWsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        date asteroidId = 2013-10-20; // date | Asteroid SPK-ID correlates to the NASA JPL small body
        try {
            inline_response_200_1 result = apiInstance.neoLookUp(apiecoKey, apiKey, asteroidId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AsteroidsNeoWsApi#neoLookUp");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AsteroidsNeoWsApi;

public class AsteroidsNeoWsApiExample {

    public static void main(String[] args) {
        AsteroidsNeoWsApi apiInstance = new AsteroidsNeoWsApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        date asteroidId = 2013-10-20; // date | Asteroid SPK-ID correlates to the NASA JPL small body
        try {
            inline_response_200_1 result = apiInstance.neoLookUp(apiecoKey, apiKey, asteroidId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AsteroidsNeoWsApi#neoLookUp");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
date *asteroidId = 2013-10-20; // Asteroid SPK-ID correlates to the NASA JPL small body

AsteroidsNeoWsApi *apiInstance = [[AsteroidsNeoWsApi alloc] init];

// Neo - Lookup
[apiInstance neoLookUpWith:apiecoKey
    apiKey:apiKey
    asteroidId:asteroidId
              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.AsteroidsNeoWsApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var asteroidId = 2013-10-20; // {date} Asteroid SPK-ID correlates to the NASA JPL small body


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.neoLookUp(apiecoKey, apiKey, asteroidId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class neoLookUpExample
    {
        public void main()
        {
            
            var apiInstance = new AsteroidsNeoWsApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var asteroidId = 2013-10-20;  // date | Asteroid SPK-ID correlates to the NASA JPL small body

            try
            {
                // Neo - Lookup
                inline_response_200_1 result = apiInstance.neoLookUp(apiecoKey, apiKey, asteroidId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AsteroidsNeoWsApi.neoLookUp: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\AsteroidsNeoWsApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$asteroidId = 2013-10-20; // date | Asteroid SPK-ID correlates to the NASA JPL small body

try {
    $result = $api_instance->neoLookUp($apiecoKey, $apiKey, $asteroidId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AsteroidsNeoWsApi->neoLookUp: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AsteroidsNeoWsApi;

my $api_instance = WWW::SwaggerClient::AsteroidsNeoWsApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $asteroidId = 2013-10-20; # date | Asteroid SPK-ID correlates to the NASA JPL small body

eval { 
    my $result = $api_instance->neoLookUp(apiecoKey => $apiecoKey, apiKey => $apiKey, asteroidId => $asteroidId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AsteroidsNeoWsApi->neoLookUp: $@\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.AsteroidsNeoWsApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
asteroidId = 2013-10-20 # date | Asteroid SPK-ID correlates to the NASA JPL small body

try: 
    # Neo - Lookup
    api_response = api_instance.neo_look_up(apiecoKey, apiKey, asteroidId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AsteroidsNeoWsApi->neoLookUp: %s\n" % e)

Parameters

Path parameters
Name Description
asteroid_id*
date (date)
Asteroid SPK-ID correlates to the NASA JPL small body
Required
Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required

Responses

Status: 200 - Successful


DONKI

cME

Coronal Mass Ejection (CME)


/DONKI/CME

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/CME?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_2 result = apiInstance.cME(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#cME");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_2 result = apiInstance.cME(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#cME");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Coronal Mass Ejection (CME)
[apiInstance cMEWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cME(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cMEExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // Coronal Mass Ejection (CME)
                inline_response_200_2 result = apiInstance.cME(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.cME: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->cME($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->cME: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->cME(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->cME: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # Coronal Mass Ejection (CME)
    api_response = api_instance.c_me(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->cME: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


cMEAnalysis

Coronal Mass Ejection (CME) Analysis


/DONKI/CMEAnalysis

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/CMEAnalysis?api_key=&startDate=&endDate=&mostAccurateOnly=&completeEntryOnly=&speed (lower limit)=&halfAngle (lower limit)="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        Boolean mostAccurateOnly = true; // Boolean | default is set to true
        Boolean completeEntryOnly = true; // Boolean | default is set to true
        BigDecimal speed (lower limit) = 8.14; // BigDecimal | default is set to 0
        BigDecimal halfAngle (lower limit) = 8.14; // BigDecimal | default is set to 0
        try {
            inline_response_200_3 result = apiInstance.cMEAnalysis(apiecoKey, apiKey, startDate, endDate, mostAccurateOnly, completeEntryOnly, speed (lower limit), halfAngle (lower limit));
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#cMEAnalysis");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        Boolean mostAccurateOnly = true; // Boolean | default is set to true
        Boolean completeEntryOnly = true; // Boolean | default is set to true
        BigDecimal speed (lower limit) = 8.14; // BigDecimal | default is set to 0
        BigDecimal halfAngle (lower limit) = 8.14; // BigDecimal | default is set to 0
        try {
            inline_response_200_3 result = apiInstance.cMEAnalysis(apiecoKey, apiKey, startDate, endDate, mostAccurateOnly, completeEntryOnly, speed (lower limit), halfAngle (lower limit));
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#cMEAnalysis");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)
Boolean *mostAccurateOnly = true; // default is set to true (optional)
Boolean *completeEntryOnly = true; // default is set to true (optional)
BigDecimal *speed (lower limit) = 8.14; // default is set to 0 (optional)
BigDecimal *halfAngle (lower limit) = 8.14; // default is set to 0 (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Coronal Mass Ejection (CME) Analysis
[apiInstance cMEAnalysisWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
    mostAccurateOnly:mostAccurateOnly
    completeEntryOnly:completeEntryOnly
    speed (lower limit):speed (lower limit)
    halfAngle (lower limit):halfAngle (lower limit)
              completionHandler: ^(inline_response_200_3 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example, // {String} default to current UTC date
  'mostAccurateOnly': true, // {Boolean} default is set to true
  'completeEntryOnly': true, // {Boolean} default is set to true
  'speed (lower limit)': 8.14, // {BigDecimal} default is set to 0
  'halfAngle (lower limit)': 8.14 // {BigDecimal} default is set to 0
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cMEAnalysis(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cMEAnalysisExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 
            var mostAccurateOnly = true;  // Boolean | default is set to true (optional) 
            var completeEntryOnly = true;  // Boolean | default is set to true (optional) 
            var speed (lower limit) = 8.14;  // BigDecimal | default is set to 0 (optional) 
            var halfAngle (lower limit) = 8.14;  // BigDecimal | default is set to 0 (optional) 

            try
            {
                // Coronal Mass Ejection (CME) Analysis
                inline_response_200_3 result = apiInstance.cMEAnalysis(apiecoKey, apiKey, startDate, endDate, mostAccurateOnly, completeEntryOnly, speed (lower limit), halfAngle (lower limit));
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.cMEAnalysis: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date
$mostAccurateOnly = true; // Boolean | default is set to true
$completeEntryOnly = true; // Boolean | default is set to true
$speed (lower limit) = 8.14; // BigDecimal | default is set to 0
$halfAngle (lower limit) = 8.14; // BigDecimal | default is set to 0

try {
    $result = $api_instance->cMEAnalysis($apiecoKey, $apiKey, $startDate, $endDate, $mostAccurateOnly, $completeEntryOnly, $speed (lower limit), $halfAngle (lower limit));
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->cMEAnalysis: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date
my $mostAccurateOnly = true; # Boolean | default is set to true
my $completeEntryOnly = true; # Boolean | default is set to true
my $speed (lower limit) = 8.14; # BigDecimal | default is set to 0
my $halfAngle (lower limit) = 8.14; # BigDecimal | default is set to 0

eval { 
    my $result = $api_instance->cMEAnalysis(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate, mostAccurateOnly => $mostAccurateOnly, completeEntryOnly => $completeEntryOnly, speed (lower limit) => $speed (lower limit), halfAngle (lower limit) => $halfAngle (lower limit));
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->cMEAnalysis: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)
mostAccurateOnly = true # Boolean | default is set to true (optional)
completeEntryOnly = true # Boolean | default is set to true (optional)
speed (lower limit) = 8.14 # BigDecimal | default is set to 0 (optional)
halfAngle (lower limit) = 8.14 # BigDecimal | default is set to 0 (optional)

try: 
    # Coronal Mass Ejection (CME) Analysis
    api_response = api_instance.c_me_analysis(apiecoKey, apiKey, startDate=startDate, endDate=endDate, mostAccurateOnly=mostAccurateOnly, completeEntryOnly=completeEntryOnly, speed (lower limit)=speed (lower limit), halfAngle (lower limit)=halfAngle (lower limit))
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->cMEAnalysis: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date
mostAccurateOnly
Boolean
default is set to true
completeEntryOnly
Boolean
default is set to true
speed (lower limit)
BigDecimal
default is set to 0
halfAngle (lower limit)
BigDecimal
default is set to 0

Responses

Status: 200 - Successful


fLR

Solar Flare (FLR)


/DONKI/FLR

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/FLR?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_4 result = apiInstance.fLR(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#fLR");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_4 result = apiInstance.fLR(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#fLR");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Solar Flare (FLR)
[apiInstance fLRWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.fLR(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class fLRExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // Solar Flare (FLR)
                inline_response_200_4 result = apiInstance.fLR(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.fLR: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->fLR($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->fLR: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->fLR(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->fLR: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # Solar Flare (FLR)
    api_response = api_instance.f_lr(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->fLR: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


gST

Geomagnetic Storm (GST)


/DONKI/GST

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/GST?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_2 result = apiInstance.gST(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#gST");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_2 result = apiInstance.gST(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#gST");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Geomagnetic Storm (GST)
[apiInstance gSTWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.gST(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class gSTExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // Geomagnetic Storm (GST)
                inline_response_200_2 result = apiInstance.gST(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.gST: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->gST($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->gST: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->gST(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->gST: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # Geomagnetic Storm (GST)
    api_response = api_instance.g_st(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->gST: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


hSS

Hight Speed Stream (HSS)


/DONKI/HSS

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/HSS?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_8 result = apiInstance.hSS(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#hSS");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_8 result = apiInstance.hSS(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#hSS");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Hight Speed Stream (HSS)
[apiInstance hSSWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_8 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.hSS(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class hSSExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // Hight Speed Stream (HSS)
                inline_response_200_8 result = apiInstance.hSS(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.hSS: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->hSS($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->hSS: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->hSS(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->hSS: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # Hight Speed Stream (HSS)
    api_response = api_instance.h_ss(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->hSS: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


iPS

Interplanetary Shock (IPS)


/DONKI/IPS

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/IPS?api_key=&startDate=&endDate=&location=&catalog="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        String location = location_example; // String | default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B)
        String catalog = catalog_example; // String | default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG)
        try {
            inline_response_200_4 result = apiInstance.iPS(apiecoKey, apiKey, startDate, endDate, location, catalog);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#iPS");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        String location = location_example; // String | default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B)
        String catalog = catalog_example; // String | default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG)
        try {
            inline_response_200_4 result = apiInstance.iPS(apiecoKey, apiKey, startDate, endDate, location, catalog);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#iPS");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)
String *location = location_example; // default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B) (optional)
String *catalog = catalog_example; // default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG) (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Interplanetary Shock (IPS)
[apiInstance iPSWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
    location:location
    catalog:catalog
              completionHandler: ^(inline_response_200_4 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example, // {String} default to current UTC date
  'location': location_example, // {String} default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B)
  'catalog': catalog_example // {String} default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.iPS(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class iPSExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 
            var location = location_example;  // String | default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B) (optional) 
            var catalog = catalog_example;  // String | default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG) (optional) 

            try
            {
                // Interplanetary Shock (IPS)
                inline_response_200_4 result = apiInstance.iPS(apiecoKey, apiKey, startDate, endDate, location, catalog);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.iPS: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date
$location = location_example; // String | default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B)
$catalog = catalog_example; // String | default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG)

try {
    $result = $api_instance->iPS($apiecoKey, $apiKey, $startDate, $endDate, $location, $catalog);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->iPS: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date
my $location = location_example; # String | default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B)
my $catalog = catalog_example; # String | default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG)

eval { 
    my $result = $api_instance->iPS(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate, location => $location, catalog => $catalog);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->iPS: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)
location = location_example # String | default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B) (optional)
catalog = catalog_example # String | default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG) (optional)

try: 
    # Interplanetary Shock (IPS)
    api_response = api_instance.i_ps(apiecoKey, apiKey, startDate=startDate, endDate=endDate, location=location, catalog=catalog)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->iPS: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date
location
String
default to ALL (choices: Earth, MESSENGER, STEREO A, STEREO B)
catalog
String
default to ALL (choices: SWRC_CATALOG, WINSLOW_MESSENGER_ICME_CATALOG)

Responses

Status: 200 - Successful


mPC

Magnetopause Crossing (MPC)


/DONKI/MPC

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/MPC?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_6 result = apiInstance.mPC(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#mPC");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_6 result = apiInstance.mPC(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#mPC");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Magnetopause Crossing (MPC)
[apiInstance mPCWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_6 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.mPC(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class mPCExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // Magnetopause Crossing (MPC)
                inline_response_200_6 result = apiInstance.mPC(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.mPC: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->mPC($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->mPC: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->mPC(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->mPC: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # Magnetopause Crossing (MPC)
    api_response = api_instance.m_pc(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->mPC: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


notifications

Notifications


/notifications

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/notifications?api_key=&startDate=&endDate=&type="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        String type = type_example; // String | 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report
        try {
            inline_response_200_10 result = apiInstance.notifications(apiecoKey, apiKey, startDate, endDate, type);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#notifications");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        String type = type_example; // String | 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report
        try {
            inline_response_200_10 result = apiInstance.notifications(apiecoKey, apiKey, startDate, endDate, type);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#notifications");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)
String *type = type_example; // 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Notifications
[apiInstance notificationsWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
    type:type
              completionHandler: ^(inline_response_200_10 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example, // {String} default to current UTC date
  'type': type_example // {String} 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.notifications(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class notificationsExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 
            var type = type_example;  // String | 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report (optional) 

            try
            {
                // Notifications
                inline_response_200_10 result = apiInstance.notifications(apiecoKey, apiKey, startDate, endDate, type);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.notifications: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date
$type = type_example; // String | 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report

try {
    $result = $api_instance->notifications($apiecoKey, $apiKey, $startDate, $endDate, $type);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->notifications: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date
my $type = type_example; # String | 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report

eval { 
    my $result = $api_instance->notifications(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate, type => $type);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->notifications: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)
type = type_example # String | 'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report (optional)

try: 
    # Notifications
    api_response = api_instance.notifications(apiecoKey, apiKey, startDate=startDate, endDate=endDate, type=type)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->notifications: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date
type
String
'type' could be: all, FLR, SEP, CME, IPS, MPC, GST, RBE, report

Responses

Status: 200 - Successful


rBE

Radiation Belt Enhancement (RBE)


/DONKI/RBE

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/RBE?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_7 result = apiInstance.rBE(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#rBE");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_7 result = apiInstance.rBE(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#rBE");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Radiation Belt Enhancement (RBE)
[apiInstance rBEWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_7 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.rBE(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class rBEExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // Radiation Belt Enhancement (RBE)
                inline_response_200_7 result = apiInstance.rBE(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.rBE: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->rBE($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->rBE: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->rBE(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->rBE: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # Radiation Belt Enhancement (RBE)
    api_response = api_instance.r_be(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->rBE: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


sEP

Solar Energetic Particle (SEP)


/DONKI/SEP

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/DONKI/SEP?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_5 result = apiInstance.sEP(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#sEP");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_5 result = apiInstance.sEP(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#sEP");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// Solar Energetic Particle (SEP)
[apiInstance sEPWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_5 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.sEP(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class sEPExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // Solar Energetic Particle (SEP)
                inline_response_200_5 result = apiInstance.sEP(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.sEP: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->sEP($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->sEP: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->sEP(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->sEP: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # Solar Energetic Particle (SEP)
    api_response = api_instance.s_ep(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->sEP: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


wSAEnlilSimulation

WSA+EnlilSimulation


/WSAEnlilSimulation

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/WSAEnlilSimulation?api_key=&startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DONKIApi;

import java.io.File;
import java.util.*;

public class DONKIApiExample {

    public static void main(String[] args) {
        
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_9 result = apiInstance.wSAEnlilSimulation(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#wSAEnlilSimulation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DONKIApi;

public class DONKIApiExample {

    public static void main(String[] args) {
        DONKIApi apiInstance = new DONKIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        String startDate = startDate_example; // String | default to 30 days prior to current UTC date
        String endDate = endDate_example; // String | default to current UTC date
        try {
            inline_response_200_9 result = apiInstance.wSAEnlilSimulation(apiecoKey, apiKey, startDate, endDate);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DONKIApi#wSAEnlilSimulation");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
String *startDate = startDate_example; // default to 30 days prior to current UTC date (optional)
String *endDate = endDate_example; // default to current UTC date (optional)

DONKIApi *apiInstance = [[DONKIApi alloc] init];

// WSA+EnlilSimulation
[apiInstance wSAEnlilSimulationWith:apiecoKey
    apiKey:apiKey
    startDate:startDate
    endDate:endDate
              completionHandler: ^(inline_response_200_9 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.DONKIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'startDate': startDate_example, // {String} default to 30 days prior to current UTC date
  'endDate': endDate_example // {String} default to current UTC date
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.wSAEnlilSimulation(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class wSAEnlilSimulationExample
    {
        public void main()
        {
            
            var apiInstance = new DONKIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var startDate = startDate_example;  // String | default to 30 days prior to current UTC date (optional) 
            var endDate = endDate_example;  // String | default to current UTC date (optional) 

            try
            {
                // WSA+EnlilSimulation
                inline_response_200_9 result = apiInstance.wSAEnlilSimulation(apiecoKey, apiKey, startDate, endDate);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DONKIApi.wSAEnlilSimulation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DONKIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$startDate = startDate_example; // String | default to 30 days prior to current UTC date
$endDate = endDate_example; // String | default to current UTC date

try {
    $result = $api_instance->wSAEnlilSimulation($apiecoKey, $apiKey, $startDate, $endDate);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DONKIApi->wSAEnlilSimulation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DONKIApi;

my $api_instance = WWW::SwaggerClient::DONKIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $startDate = startDate_example; # String | default to 30 days prior to current UTC date
my $endDate = endDate_example; # String | default to current UTC date

eval { 
    my $result = $api_instance->wSAEnlilSimulation(apiecoKey => $apiecoKey, apiKey => $apiKey, startDate => $startDate, endDate => $endDate);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DONKIApi->wSAEnlilSimulation: $@\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.DONKIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
startDate = startDate_example # String | default to 30 days prior to current UTC date (optional)
endDate = endDate_example # String | default to current UTC date (optional)

try: 
    # WSA+EnlilSimulation
    api_response = api_instance.w_sa_enlil_simulation(apiecoKey, apiKey, startDate=startDate, endDate=endDate)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DONKIApi->wSAEnlilSimulation: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
startDate
String
default to 30 days prior to current UTC date
endDate
String
default to current UTC date

Responses

Status: 200 - Successful


Earth

assets

Assets

This endpoint retrieves the date-times and asset names for closest available imagery for a supplied location and date. The satellite passes over each point on earth roughly once every sixteen days. This is an amazing visualization of the acquisition pattern for Landsat 8 imagery. The objective of this endpoint is primarily to support the use of the imagery endpoint.


/planetary/earth/assets

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/planetary/earth/assets?api_key=&lat=&lon=&dim=&date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EarthApi;

import java.io.File;
import java.util.*;

public class EarthApiExample {

    public static void main(String[] args) {
        
        EarthApi apiInstance = new EarthApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        BigDecimal lat = 8.14; // BigDecimal | Latitude
        BigDecimal lon = 8.14; // BigDecimal | Longitude
        date dim = 2013-10-20; // date | width and height of image in degrees
        Boolean date = true; // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned
        try {
            inline_response_200_11 result = apiInstance.assets(apiecoKey, apiKey, lat, lon, dim, date);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EarthApi#assets");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EarthApi;

public class EarthApiExample {

    public static void main(String[] args) {
        EarthApi apiInstance = new EarthApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        BigDecimal lat = 8.14; // BigDecimal | Latitude
        BigDecimal lon = 8.14; // BigDecimal | Longitude
        date dim = 2013-10-20; // date | width and height of image in degrees
        Boolean date = true; // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned
        try {
            inline_response_200_11 result = apiInstance.assets(apiecoKey, apiKey, lat, lon, dim, date);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EarthApi#assets");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
BigDecimal *lat = 8.14; // Latitude
BigDecimal *lon = 8.14; // Longitude
date *dim = 2013-10-20; // width and height of image in degrees (default to 0.025)
Boolean *date = true; // date of image; if not supplied, then the most recent image (i.e., closest to today) is returned (default to false)

EarthApi *apiInstance = [[EarthApi alloc] init];

// Assets
[apiInstance assetsWith:apiecoKey
    apiKey:apiKey
    lat:lat
    lon:lon
    dim:dim
    date:date
              completionHandler: ^(inline_response_200_11 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.EarthApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var lat = 8.14; // {BigDecimal} Latitude

var lon = 8.14; // {BigDecimal} Longitude

var dim = 2013-10-20; // {date} width and height of image in degrees

var date = true; // {Boolean} date of image; if not supplied, then the most recent image (i.e., closest to today) is returned


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.assets(apiecoKey, apiKey, lat, lon, dim, date, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class assetsExample
    {
        public void main()
        {
            
            var apiInstance = new EarthApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var lat = 8.14;  // BigDecimal | Latitude
            var lon = 8.14;  // BigDecimal | Longitude
            var dim = 2013-10-20;  // date | width and height of image in degrees (default to 0.025)
            var date = true;  // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned (default to false)

            try
            {
                // Assets
                inline_response_200_11 result = apiInstance.assets(apiecoKey, apiKey, lat, lon, dim, date);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EarthApi.assets: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EarthApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$lat = 8.14; // BigDecimal | Latitude
$lon = 8.14; // BigDecimal | Longitude
$dim = 2013-10-20; // date | width and height of image in degrees
$date = true; // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned

try {
    $result = $api_instance->assets($apiecoKey, $apiKey, $lat, $lon, $dim, $date);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EarthApi->assets: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EarthApi;

my $api_instance = WWW::SwaggerClient::EarthApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $lat = 8.14; # BigDecimal | Latitude
my $lon = 8.14; # BigDecimal | Longitude
my $dim = 2013-10-20; # date | width and height of image in degrees
my $date = true; # Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned

eval { 
    my $result = $api_instance->assets(apiecoKey => $apiecoKey, apiKey => $apiKey, lat => $lat, lon => $lon, dim => $dim, date => $date);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EarthApi->assets: $@\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.EarthApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
lat = 8.14 # BigDecimal | Latitude
lon = 8.14 # BigDecimal | Longitude
dim = 2013-10-20 # date | width and height of image in degrees (default to 0.025)
date = true # Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned (default to false)

try: 
    # Assets
    api_response = api_instance.assets(apiecoKey, apiKey, lat, lon, dim, date)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EarthApi->assets: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
lat*
BigDecimal (date)
Latitude
Required
lon*
BigDecimal
Longitude
Required
dim*
date (date)
width and height of image in degrees
Required
date*
Boolean
date of image; if not supplied, then the most recent image (i.e., closest to today) is returned
Required

Responses

Status: 200 - Successful


imagery

Imagery

This endpoint retrieves the Landsat 8 image for the supplied location and date. The response will include the date and URL to the image that is closest to the supplied date. The requested resource may not be available for the exact date in the request. You can retrieve a json that contains the inputs you provided and an url to the resulting image through the assets endpoint The assets endpoint no longer returns a list of potential images within your date range due to a change on the google earth engine api side.


/planetary/earth/imagery

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/planetary/earth/imagery?api_key=&lat=&lon=&dim=&date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EarthApi;

import java.io.File;
import java.util.*;

public class EarthApiExample {

    public static void main(String[] args) {
        
        EarthApi apiInstance = new EarthApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        BigDecimal lat = 8.14; // BigDecimal | Latitude
        BigDecimal lon = 8.14; // BigDecimal | Longitude
        date dim = 2013-10-20; // date | width and height of image in degrees
        Boolean date = true; // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned
        try {
            File result = apiInstance.imagery(apiecoKey, apiKey, lat, lon, dim, date);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EarthApi#imagery");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.EarthApi;

public class EarthApiExample {

    public static void main(String[] args) {
        EarthApi apiInstance = new EarthApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        BigDecimal lat = 8.14; // BigDecimal | Latitude
        BigDecimal lon = 8.14; // BigDecimal | Longitude
        date dim = 2013-10-20; // date | width and height of image in degrees
        Boolean date = true; // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned
        try {
            File result = apiInstance.imagery(apiecoKey, apiKey, lat, lon, dim, date);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling EarthApi#imagery");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
BigDecimal *lat = 8.14; // Latitude
BigDecimal *lon = 8.14; // Longitude
date *dim = 2013-10-20; // width and height of image in degrees (default to 0.025)
Boolean *date = true; // date of image; if not supplied, then the most recent image (i.e., closest to today) is returned (default to false)

EarthApi *apiInstance = [[EarthApi alloc] init];

// Imagery
[apiInstance imageryWith:apiecoKey
    apiKey:apiKey
    lat:lat
    lon:lon
    dim:dim
    date:date
              completionHandler: ^(File output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.EarthApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var lat = 8.14; // {BigDecimal} Latitude

var lon = 8.14; // {BigDecimal} Longitude

var dim = 2013-10-20; // {date} width and height of image in degrees

var date = true; // {Boolean} date of image; if not supplied, then the most recent image (i.e., closest to today) is returned


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.imagery(apiecoKey, apiKey, lat, lon, dim, date, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class imageryExample
    {
        public void main()
        {
            
            var apiInstance = new EarthApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var lat = 8.14;  // BigDecimal | Latitude
            var lon = 8.14;  // BigDecimal | Longitude
            var dim = 2013-10-20;  // date | width and height of image in degrees (default to 0.025)
            var date = true;  // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned (default to false)

            try
            {
                // Imagery
                File result = apiInstance.imagery(apiecoKey, apiKey, lat, lon, dim, date);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling EarthApi.imagery: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\EarthApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$lat = 8.14; // BigDecimal | Latitude
$lon = 8.14; // BigDecimal | Longitude
$dim = 2013-10-20; // date | width and height of image in degrees
$date = true; // Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned

try {
    $result = $api_instance->imagery($apiecoKey, $apiKey, $lat, $lon, $dim, $date);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling EarthApi->imagery: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EarthApi;

my $api_instance = WWW::SwaggerClient::EarthApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $lat = 8.14; # BigDecimal | Latitude
my $lon = 8.14; # BigDecimal | Longitude
my $dim = 2013-10-20; # date | width and height of image in degrees
my $date = true; # Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned

eval { 
    my $result = $api_instance->imagery(apiecoKey => $apiecoKey, apiKey => $apiKey, lat => $lat, lon => $lon, dim => $dim, date => $date);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling EarthApi->imagery: $@\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.EarthApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
lat = 8.14 # BigDecimal | Latitude
lon = 8.14 # BigDecimal | Longitude
dim = 2013-10-20 # date | width and height of image in degrees (default to 0.025)
date = true # Boolean | date of image; if not supplied, then the most recent image (i.e., closest to today) is returned (default to false)

try: 
    # Imagery
    api_response = api_instance.imagery(apiecoKey, apiKey, lat, lon, dim, date)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling EarthApi->imagery: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
lat*
BigDecimal (date)
Latitude
Required
lon*
BigDecimal
Longitude
Required
dim*
date (date)
width and height of image in degrees
Required
date*
Boolean
date of image; if not supplied, then the most recent image (i.e., closest to today) is returned
Required

Responses

Status: 200 - Successful


InSightInsightWeatherServiceAPI

insightWeather

Assets

NASA’s InSight Mars lander takes continuous weather measurements (temperature, wind, pressure) on the surface of Mars at Elysium Planitia, a flat, smooth plain near Mars’ equator. Summaries of these data are available at https://mars.nasa.gov/insight/weather/. This API provides per-Sol summary data for each of the last seven available Sols (Martian Days). As more data from a particular Sol are downlinked from the spacecraft (sometimes several days later), these values are recalculated, and consequently may change as more data are received on Earth.


/insight_weather

Usage and SDK Samples

curl -X GET "https://api.apieco.ir/nasa/insight_weather?api_key=&version=&feedtype="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InSightInsightWeatherServiceAPIApi;

import java.io.File;
import java.util.*;

public class InSightInsightWeatherServiceAPIApiExample {

    public static void main(String[] args) {
        
        InSightInsightWeatherServiceAPIApi apiInstance = new InSightInsightWeatherServiceAPIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        BigDecimal version = 8.14; // BigDecimal | The version of this API
        String feedtype = feedtype_example; // String | The format of what is returned. Currently the default is JSON and only JSON works.
        try {
            inline_response_200_12 result = apiInstance.insightWeather(apiecoKey, apiKey, version, feedtype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InSightInsightWeatherServiceAPIApi#insightWeather");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.InSightInsightWeatherServiceAPIApi;

public class InSightInsightWeatherServiceAPIApiExample {

    public static void main(String[] args) {
        InSightInsightWeatherServiceAPIApi apiInstance = new InSightInsightWeatherServiceAPIApi();
        String apiecoKey = apiecoKey_example; // String | 
        String apiKey = apiKey_example; // String | Don't change the value
        BigDecimal version = 8.14; // BigDecimal | The version of this API
        String feedtype = feedtype_example; // String | The format of what is returned. Currently the default is JSON and only JSON works.
        try {
            inline_response_200_12 result = apiInstance.insightWeather(apiecoKey, apiKey, version, feedtype);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InSightInsightWeatherServiceAPIApi#insightWeather");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // 
String *apiKey = apiKey_example; // Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
BigDecimal *version = 8.14; // The version of this API (optional)
String *feedtype = feedtype_example; // The format of what is returned. Currently the default is JSON and only JSON works. (optional)

InSightInsightWeatherServiceAPIApi *apiInstance = [[InSightInsightWeatherServiceAPIApi alloc] init];

// Assets
[apiInstance insightWeatherWith:apiecoKey
    apiKey:apiKey
    version:version
    feedtype:feedtype
              completionHandler: ^(inline_response_200_12 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NasaApi = require('nasa_api');

var api = new NasaApi.InSightInsightWeatherServiceAPIApi()

var apiecoKey = apiecoKey_example; // {String} 

var apiKey = apiKey_example; // {String} Don't change the value

var opts = { 
  'version': 8.14, // {BigDecimal} The version of this API
  'feedtype': feedtype_example // {String} The format of what is returned. Currently the default is JSON and only JSON works.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.insightWeather(apiecoKey, apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class insightWeatherExample
    {
        public void main()
        {
            
            var apiInstance = new InSightInsightWeatherServiceAPIApi();
            var apiecoKey = apiecoKey_example;  // String | 
            var apiKey = apiKey_example;  // String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
            var version = 8.14;  // BigDecimal | The version of this API (optional) 
            var feedtype = feedtype_example;  // String | The format of what is returned. Currently the default is JSON and only JSON works. (optional) 

            try
            {
                // Assets
                inline_response_200_12 result = apiInstance.insightWeather(apiecoKey, apiKey, version, feedtype);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InSightInsightWeatherServiceAPIApi.insightWeather: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InSightInsightWeatherServiceAPIApi();
$apiecoKey = apiecoKey_example; // String | 
$apiKey = apiKey_example; // String | Don't change the value
$version = 8.14; // BigDecimal | The version of this API
$feedtype = feedtype_example; // String | The format of what is returned. Currently the default is JSON and only JSON works.

try {
    $result = $api_instance->insightWeather($apiecoKey, $apiKey, $version, $feedtype);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InSightInsightWeatherServiceAPIApi->insightWeather: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::InSightInsightWeatherServiceAPIApi;

my $api_instance = WWW::SwaggerClient::InSightInsightWeatherServiceAPIApi->new();
my $apiecoKey = apiecoKey_example; # String | 
my $apiKey = apiKey_example; # String | Don't change the value
my $version = 8.14; # BigDecimal | The version of this API
my $feedtype = feedtype_example; # String | The format of what is returned. Currently the default is JSON and only JSON works.

eval { 
    my $result = $api_instance->insightWeather(apiecoKey => $apiecoKey, apiKey => $apiKey, version => $version, feedtype => $feedtype);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InSightInsightWeatherServiceAPIApi->insightWeather: $@\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.InSightInsightWeatherServiceAPIApi()
apiecoKey = apiecoKey_example # String | 
apiKey = apiKey_example # String | Don't change the value (default to rMUcofpGDkeSeB7nbjsx509Wd5Ciu5ifloip6VZV)
version = 8.14 # BigDecimal | The version of this API (optional)
feedtype = feedtype_example # String | The format of what is returned. Currently the default is JSON and only JSON works. (optional)

try: 
    # Assets
    api_response = api_instance.insight_weather(apiecoKey, apiKey, version=version, feedtype=feedtype)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InSightInsightWeatherServiceAPIApi->insightWeather: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
Required
Query parameters
Name Description
api_key*
String
Don't change the value
Required
version
BigDecimal (date)
The version of this API
feedtype
String
The format of what is returned. Currently the default is JSON and only JSON works.

Responses

Status: 200 - Successful