AstroApp REST APIs

ChartsAndDetails

chartData

Chart Data

This API is used to create a new astrological chart (new horoscope). The API Returns the new chart data, and optionally - aspects listing and the chart image in the png format.


/chart

Usage and SDK Samples

curl -X POST "https://astroapp.com/astro/apis/chart"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChartsAndDetailsApi;

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

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        ChartDataRequest body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "calcRequestProps" : {
    "needImage" : "Y",
    "needAspects" : "Y"
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // ChartDataRequest | Chart information to be used to calculate a new horoscope.
        String key = key_example; // String | AstroApp API key
        try {
            ChartDataResponse result = apiInstance.chartData(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#chartData");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChartsAndDetailsApi;

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        ChartDataRequest body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "calcRequestProps" : {
    "needImage" : "Y",
    "needAspects" : "Y"
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // ChartDataRequest | Chart information to be used to calculate a new horoscope.
        String key = key_example; // String | AstroApp API key
        try {
            ChartDataResponse result = apiInstance.chartData(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#chartData");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ChartDataRequest *body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "calcRequestProps" : {
    "needImage" : "Y",
    "needAspects" : "Y"
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // Chart information to be used to calculate a new horoscope.
String *key = key_example; // AstroApp API key

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

// Chart Data
[apiInstance chartDataWith:body
    key:key
              completionHandler: ^(ChartDataResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AstroAppRestApIs = require('astro_app_rest_ap_is');
var defaultClient = AstroAppRestApIs.ApiClient.instance;


var api = new AstroAppRestApIs.ChartsAndDetailsApi()
var body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "calcRequestProps" : {
    "needImage" : "Y",
    "needAspects" : "Y"
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // {{ChartDataRequest}} Chart information to be used to calculate a new horoscope.
var key = key_example; // {{String}} AstroApp API key

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

namespace Example
{
    public class chartDataExample
    {
        public void main()
        {


            var apiInstance = new ChartsAndDetailsApi();
            var body = new ChartDataRequest(); // ChartDataRequest | Chart information to be used to calculate a new horoscope.
            var key = key_example;  // String | AstroApp API key

            try
            {
                // Chart Data
                ChartDataResponse result = apiInstance.chartData(body, key);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ChartsAndDetailsApi.chartData: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiChartsAndDetailsApi();
$body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "calcRequestProps" : {
    "needImage" : "Y",
    "needAspects" : "Y"
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // ChartDataRequest | Chart information to be used to calculate a new horoscope.
$key = key_example; // String | AstroApp API key

try {
    $result = $api_instance->chartData($body, $key);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ChartsAndDetailsApi->chartData: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ChartsAndDetailsApi;


my $api_instance = WWW::SwaggerClient::ChartsAndDetailsApi->new();
my $body = WWW::SwaggerClient::Object::ChartDataRequest->new(); # ChartDataRequest | Chart information to be used to calculate a new horoscope.
my $key = key_example; # String | AstroApp API key

eval { 
    my $result = $api_instance->chartData(body => $body, key => $key);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ChartsAndDetailsApi->chartData: $@\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.ChartsAndDetailsApi()
body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "calcRequestProps" : {
    "needImage" : "Y",
    "needAspects" : "Y"
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
} # ChartDataRequest | Chart information to be used to calculate a new horoscope.
key = key_example # String | AstroApp API key

try: 
    # Chart Data
    api_response = api_instance.chart_data(body, key)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChartsAndDetailsApi->chartData: %s\n" % e)

Parameters

Header parameters
Name Description
key*
String
AstroApp API key
Required
Body parameters
Name Description
body *

Responses

Status: 201 -

Status: 400 - Invalid or missing parameters

Status: 401 - Failed authentication.


dignities

Dignities

API that returns essential and accidental dignities based on already calculated chart data.


/dignities

Usage and SDK Samples

curl -X POST "https://astroapp.com/astro/apis/dignities"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChartsAndDetailsApi;

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

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        DignitiesRequest body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G"
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // DignitiesRequest | Pre-calculated chart data.
        String key = key_example; // String | AstroApp API key
        try {
            DignitiesResponse result = apiInstance.dignities(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#dignities");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChartsAndDetailsApi;

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        DignitiesRequest body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G"
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // DignitiesRequest | Pre-calculated chart data.
        String key = key_example; // String | AstroApp API key
        try {
            DignitiesResponse result = apiInstance.dignities(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#dignities");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
DignitiesRequest *body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G"
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // Pre-calculated chart data.
String *key = key_example; // AstroApp API key

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

// Dignities
[apiInstance dignitiesWith:body
    key:key
              completionHandler: ^(DignitiesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AstroAppRestApIs = require('astro_app_rest_ap_is');
var defaultClient = AstroAppRestApIs.ApiClient.instance;


var api = new AstroAppRestApIs.ChartsAndDetailsApi()
var body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G"
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // {{DignitiesRequest}} Pre-calculated chart data.
var key = key_example; // {{String}} AstroApp API key

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

namespace Example
{
    public class dignitiesExample
    {
        public void main()
        {


            var apiInstance = new ChartsAndDetailsApi();
            var body = new DignitiesRequest(); // DignitiesRequest | Pre-calculated chart data.
            var key = key_example;  // String | AstroApp API key

            try
            {
                // Dignities
                DignitiesResponse result = apiInstance.dignities(body, key);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ChartsAndDetailsApi.dignities: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiChartsAndDetailsApi();
$body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G"
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // DignitiesRequest | Pre-calculated chart data.
$key = key_example; // String | AstroApp API key

try {
    $result = $api_instance->dignities($body, $key);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ChartsAndDetailsApi->dignities: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ChartsAndDetailsApi;


my $api_instance = WWW::SwaggerClient::ChartsAndDetailsApi->new();
my $body = WWW::SwaggerClient::Object::DignitiesRequest->new(); # DignitiesRequest | Pre-calculated chart data.
my $key = key_example; # String | AstroApp API key

eval { 
    my $result = $api_instance->dignities(body => $body, key => $key);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ChartsAndDetailsApi->dignities: $@\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.ChartsAndDetailsApi()
body = {
  "chart" : {
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G"
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
} # DignitiesRequest | Pre-calculated chart data.
key = key_example # String | AstroApp API key

try: 
    # Dignities
    api_response = api_instance.dignities(body, key)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChartsAndDetailsApi->dignities: %s\n" % e)

Parameters

Header parameters
Name Description
key*
String
AstroApp API key
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 401 - Failed Authentication.


statsByHouse

Stats By House

This API provides statistical information for a given chart. It requires a previously calculated chart (chart with objects/planets and house cusps already calculated).


/stats/byhouse

Usage and SDK Samples

curl -X POST "https://astroapp.com/astro/apis/stats/byhouse"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChartsAndDetailsApi;

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

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        StatsBySignRequest body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // StatsBySignRequest | Pre-calculated chart data.
        String key = key_example; // String | AstroApp API key
        try {
            StatsBySignResponse result = apiInstance.statsByHouse(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#statsByHouse");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChartsAndDetailsApi;

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        StatsBySignRequest body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // StatsBySignRequest | Pre-calculated chart data.
        String key = key_example; // String | AstroApp API key
        try {
            StatsBySignResponse result = apiInstance.statsByHouse(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#statsByHouse");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
StatsBySignRequest *body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // Pre-calculated chart data.
String *key = key_example; // AstroApp API key

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

// Stats By House
[apiInstance statsByHouseWith:body
    key:key
              completionHandler: ^(StatsBySignResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AstroAppRestApIs = require('astro_app_rest_ap_is');
var defaultClient = AstroAppRestApIs.ApiClient.instance;


var api = new AstroAppRestApIs.ChartsAndDetailsApi()
var body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // {{StatsBySignRequest}} Pre-calculated chart data.
var key = key_example; // {{String}} AstroApp API key

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

namespace Example
{
    public class statsByHouseExample
    {
        public void main()
        {


            var apiInstance = new ChartsAndDetailsApi();
            var body = new StatsBySignRequest(); // StatsBySignRequest | Pre-calculated chart data.
            var key = key_example;  // String | AstroApp API key

            try
            {
                // Stats By House
                StatsBySignResponse result = apiInstance.statsByHouse(body, key);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ChartsAndDetailsApi.statsByHouse: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiChartsAndDetailsApi();
$body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // StatsBySignRequest | Pre-calculated chart data.
$key = key_example; // String | AstroApp API key

try {
    $result = $api_instance->statsByHouse($body, $key);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ChartsAndDetailsApi->statsByHouse: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ChartsAndDetailsApi;


my $api_instance = WWW::SwaggerClient::ChartsAndDetailsApi->new();
my $body = WWW::SwaggerClient::Object::StatsBySignRequest->new(); # StatsBySignRequest | Pre-calculated chart data.
my $key = key_example; # String | AstroApp API key

eval { 
    my $result = $api_instance->statsByHouse(body => $body, key => $key);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ChartsAndDetailsApi->statsByHouse: $@\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.ChartsAndDetailsApi()
body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
} # StatsBySignRequest | Pre-calculated chart data.
key = key_example # String | AstroApp API key

try: 
    # Stats By House
    api_response = api_instance.stats_by_house(body, key)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChartsAndDetailsApi->statsByHouse: %s\n" % e)

Parameters

Header parameters
Name Description
key*
String
AstroApp API key
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 401 - Failed authentication.

Status: 404 - Stats data not found or cannot be calculated.


statsBySign

Stats By Sign

This API provides statistical information for a given chart. It requires a previously calculated chart (chart with objects/planets and house cusps already calculated).


/stats/bysign

Usage and SDK Samples

curl -X POST "https://astroapp.com/astro/apis/stats/bysign"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ChartsAndDetailsApi;

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

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        StatsBySignRequest body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // StatsBySignRequest | Pre-calculated chart data.
        String key = key_example; // String | AstroApp API key
        try {
            StatsBySignResponse result = apiInstance.statsBySign(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#statsBySign");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ChartsAndDetailsApi;

public class ChartsAndDetailsApiExample {

    public static void main(String[] args) {
        ChartsAndDetailsApi apiInstance = new ChartsAndDetailsApi();
        StatsBySignRequest body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // StatsBySignRequest | Pre-calculated chart data.
        String key = key_example; // String | AstroApp API key
        try {
            StatsBySignResponse result = apiInstance.statsBySign(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ChartsAndDetailsApi#statsBySign");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
StatsBySignRequest *body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // Pre-calculated chart data.
String *key = key_example; // AstroApp API key

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

// Stats By Sign
[apiInstance statsBySignWith:body
    key:key
              completionHandler: ^(StatsBySignResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AstroAppRestApIs = require('astro_app_rest_ap_is');
var defaultClient = AstroAppRestApIs.ApiClient.instance;


var api = new AstroAppRestApIs.ChartsAndDetailsApi()
var body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // {{StatsBySignRequest}} Pre-calculated chart data.
var key = key_example; // {{String}} AstroApp API key

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

namespace Example
{
    public class statsBySignExample
    {
        public void main()
        {


            var apiInstance = new ChartsAndDetailsApi();
            var body = new StatsBySignRequest(); // StatsBySignRequest | Pre-calculated chart data.
            var key = key_example;  // String | AstroApp API key

            try
            {
                // Stats By Sign
                StatsBySignResponse result = apiInstance.statsBySign(body, key);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ChartsAndDetailsApi.statsBySign: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiChartsAndDetailsApi();
$body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
}; // StatsBySignRequest | Pre-calculated chart data.
$key = key_example; // String | AstroApp API key

try {
    $result = $api_instance->statsBySign($body, $key);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ChartsAndDetailsApi->statsBySign: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ChartsAndDetailsApi;


my $api_instance = WWW::SwaggerClient::ChartsAndDetailsApi->new();
my $body = WWW::SwaggerClient::Object::StatsBySignRequest->new(); # StatsBySignRequest | Pre-calculated chart data.
my $key = key_example; # String | AstroApp API key

eval { 
    my $result = $api_instance->statsBySign(body => $body, key => $key);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ChartsAndDetailsApi->statsBySign: $@\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.ChartsAndDetailsApi()
body = {
  "chart" : {
    "calcResultsAvailable" : true,
    "chartData" : {
      "chartName" : "Chart1 REST API",
      "chartDate" : { },
      "lng" : 15.501,
      "lat" : 27.5,
      "elev" : 1,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "houseSystemID" : 1,
      "coordSys" : "G",
      "version" : 1
    },
    "houseCusps" : [ 0, 56.93525558719873, 83.25745421804797, 106.74889194032444, 131.57180262843968, 161.30469178328167, 197.87174209003723, 236.93525558719872, 263.257454218048, 286.7488919403244, 311.5718026284397, 341.30469178328167, 17.87174209003722, 56.93525558719873 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  },
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ]
  }
} # StatsBySignRequest | Pre-calculated chart data.
key = key_example # String | AstroApp API key

try: 
    # Stats By Sign
    api_response = api_instance.stats_by_sign(body, key)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ChartsAndDetailsApi->statsBySign: %s\n" % e)

Parameters

Header parameters
Name Description
key*
String
AstroApp API key
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 401 - Failed authentication.

Status: 404 - Stats data not found or cannot be calculated.


LocationsAndTimeZones

locations

Locations

Locations search. This API searches by place names (such as full or partial city names, hospital names, historic locations, military bases and so on). The API returns coordinates of all the places that match the search criteria along with the time zone name. The output from this API is used as an input for all the AstroAPP APIs that require chart calculation or depend on location and/or time zone information.


/locations/name

Usage and SDK Samples

curl -X GET "https://astroapp.com/astro/apis/locations/name?cityName=&stateCode=&countryID="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsAndTimeZonesApi;

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

public class LocationsAndTimeZonesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        LocationsAndTimeZonesApi apiInstance = new LocationsAndTimeZonesApi();
        String cityName = cityName_example; // String | Full or partial name of the location (city, historical location, reservation, military bases, etc)
        String stateCode = stateCode_example; // String | 2-letter state code abbreviation; applicable only for the locations in the USA.
        Integer countryID = 56; // Integer | Id of the country. Please contact AstroApp Support for details.
        String contentType = contentType_example; // String | 
        String key = key_example; // String | Your AstroApp API access key.
        try {
            apiInstance.locations(cityName, stateCode, countryID, contentType, key);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsAndTimeZonesApi#locations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsAndTimeZonesApi;

public class LocationsAndTimeZonesApiExample {

    public static void main(String[] args) {
        LocationsAndTimeZonesApi apiInstance = new LocationsAndTimeZonesApi();
        String cityName = cityName_example; // String | Full or partial name of the location (city, historical location, reservation, military bases, etc)
        String stateCode = stateCode_example; // String | 2-letter state code abbreviation; applicable only for the locations in the USA.
        Integer countryID = 56; // Integer | Id of the country. Please contact AstroApp Support for details.
        String contentType = contentType_example; // String | 
        String key = key_example; // String | Your AstroApp API access key.
        try {
            apiInstance.locations(cityName, stateCode, countryID, contentType, key);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsAndTimeZonesApi#locations");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
String *cityName = cityName_example; // Full or partial name of the location (city, historical location, reservation, military bases, etc)
String *stateCode = stateCode_example; // 2-letter state code abbreviation; applicable only for the locations in the USA.
Integer *countryID = 56; // Id of the country. Please contact AstroApp Support for details.
String *contentType = contentType_example; // 
String *key = key_example; // Your AstroApp API access key.

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

// Locations
[apiInstance locationsWith:cityName
    stateCode:stateCode
    countryID:countryID
    contentType:contentType
    key:key
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AstroAppRestApIs = require('astro_app_rest_ap_is');
var defaultClient = AstroAppRestApIs.ApiClient.instance;


var api = new AstroAppRestApIs.LocationsAndTimeZonesApi()
var cityName = cityName_example; // {{String}} Full or partial name of the location (city, historical location, reservation, military bases, etc)
var stateCode = stateCode_example; // {{String}} 2-letter state code abbreviation; applicable only for the locations in the USA.
var countryID = 56; // {{Integer}} Id of the country. Please contact AstroApp Support for details.
var contentType = contentType_example; // {{String}} 
var key = key_example; // {{String}} Your AstroApp API access key.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.locations(cityName, stateCode, countryID, contentType, key, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class locationsExample
    {
        public void main()
        {


            var apiInstance = new LocationsAndTimeZonesApi();
            var cityName = cityName_example;  // String | Full or partial name of the location (city, historical location, reservation, military bases, etc)
            var stateCode = stateCode_example;  // String | 2-letter state code abbreviation; applicable only for the locations in the USA.
            var countryID = 56;  // Integer | Id of the country. Please contact AstroApp Support for details.
            var contentType = contentType_example;  // String | 
            var key = key_example;  // String | Your AstroApp API access key.

            try
            {
                // Locations
                apiInstance.locations(cityName, stateCode, countryID, contentType, key);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsAndTimeZonesApi.locations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiLocationsAndTimeZonesApi();
$cityName = cityName_example; // String | Full or partial name of the location (city, historical location, reservation, military bases, etc)
$stateCode = stateCode_example; // String | 2-letter state code abbreviation; applicable only for the locations in the USA.
$countryID = 56; // Integer | Id of the country. Please contact AstroApp Support for details.
$contentType = contentType_example; // String | 
$key = key_example; // String | Your AstroApp API access key.

try {
    $api_instance->locations($cityName, $stateCode, $countryID, $contentType, $key);
} catch (Exception $e) {
    echo 'Exception when calling LocationsAndTimeZonesApi->locations: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LocationsAndTimeZonesApi;


my $api_instance = WWW::SwaggerClient::LocationsAndTimeZonesApi->new();
my $cityName = cityName_example; # String | Full or partial name of the location (city, historical location, reservation, military bases, etc)
my $stateCode = stateCode_example; # String | 2-letter state code abbreviation; applicable only for the locations in the USA.
my $countryID = 56; # Integer | Id of the country. Please contact AstroApp Support for details.
my $contentType = contentType_example; # String | 
my $key = key_example; # String | Your AstroApp API access key.

eval { 
    $api_instance->locations(cityName => $cityName, stateCode => $stateCode, countryID => $countryID, contentType => $contentType, key => $key);
};
if ($@) {
    warn "Exception when calling LocationsAndTimeZonesApi->locations: $@\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.LocationsAndTimeZonesApi()
cityName = cityName_example # String | Full or partial name of the location (city, historical location, reservation, military bases, etc)
stateCode = stateCode_example # String | 2-letter state code abbreviation; applicable only for the locations in the USA.
countryID = 56 # Integer | Id of the country. Please contact AstroApp Support for details.
contentType = contentType_example # String | 
key = key_example # String | Your AstroApp API access key.

try: 
    # Locations
    api_instance.locations(cityName, stateCode, countryID, contentType, key)
except ApiException as e:
    print("Exception when calling LocationsAndTimeZonesApi->locations: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type*
String
Required
key*
String
Your AstroApp API access key.
Required
Query parameters
Name Description
cityName*
String
Full or partial name of the location (city, historical location, reservation, military bases, etc)
Required
stateCode*
String
2-letter state code abbreviation; applicable only for the locations in the USA.
Required
countryID*
Integer (int32)
Id of the country. Please contact AstroApp Support for details.
Required

Responses

Status: 200 -


locationsbyCoords

Locations by Coords

Locations search by coordinates. This API provides proximity searches based on the provided geographical coordinates (longitude and latitude). The API returns coordinates of all the places that match the search criteria along with the time zone name. The default proximity radius is 10 international miles (or 16.0934 km) from the provided location. The output from this API is used as an input for all the AstroAPP APIs that require chart calculation or depend on location and/or time zone information.


/locations/coord

Usage and SDK Samples

curl -X GET "https://astroapp.com/astro/apis/locations/coord?lat=&lng="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LocationsAndTimeZonesApi;

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

public class LocationsAndTimeZonesApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        LocationsAndTimeZonesApi apiInstance = new LocationsAndTimeZonesApi();
        Double lat = 1.2; // Double | Geographical latitude
        Double lng = 1.2; // Double | Geographical longitude
        String contentType = contentType_example; // String | 
        String key = key_example; // String | You AstroApp API access key.
        try {
            apiInstance.locationsbyCoords(lat, lng, contentType, key);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsAndTimeZonesApi#locationsbyCoords");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.LocationsAndTimeZonesApi;

public class LocationsAndTimeZonesApiExample {

    public static void main(String[] args) {
        LocationsAndTimeZonesApi apiInstance = new LocationsAndTimeZonesApi();
        Double lat = 1.2; // Double | Geographical latitude
        Double lng = 1.2; // Double | Geographical longitude
        String contentType = contentType_example; // String | 
        String key = key_example; // String | You AstroApp API access key.
        try {
            apiInstance.locationsbyCoords(lat, lng, contentType, key);
        } catch (ApiException e) {
            System.err.println("Exception when calling LocationsAndTimeZonesApi#locationsbyCoords");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
Double *lat = 1.2; // Geographical latitude
Double *lng = 1.2; // Geographical longitude
String *contentType = contentType_example; // 
String *key = key_example; // You AstroApp API access key.

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

// Locations by Coords
[apiInstance locationsbyCoordsWith:lat
    lng:lng
    contentType:contentType
    key:key
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AstroAppRestApIs = require('astro_app_rest_ap_is');
var defaultClient = AstroAppRestApIs.ApiClient.instance;


var api = new AstroAppRestApIs.LocationsAndTimeZonesApi()
var lat = 1.2; // {{Double}} Geographical latitude
var lng = 1.2; // {{Double}} Geographical longitude
var contentType = contentType_example; // {{String}} 
var key = key_example; // {{String}} You AstroApp API access key.

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.locationsbyCoords(lat, lng, contentType, key, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class locationsbyCoordsExample
    {
        public void main()
        {


            var apiInstance = new LocationsAndTimeZonesApi();
            var lat = 1.2;  // Double | Geographical latitude
            var lng = 1.2;  // Double | Geographical longitude
            var contentType = contentType_example;  // String | 
            var key = key_example;  // String | You AstroApp API access key.

            try
            {
                // Locations by Coords
                apiInstance.locationsbyCoords(lat, lng, contentType, key);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling LocationsAndTimeZonesApi.locationsbyCoords: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiLocationsAndTimeZonesApi();
$lat = 1.2; // Double | Geographical latitude
$lng = 1.2; // Double | Geographical longitude
$contentType = contentType_example; // String | 
$key = key_example; // String | You AstroApp API access key.

try {
    $api_instance->locationsbyCoords($lat, $lng, $contentType, $key);
} catch (Exception $e) {
    echo 'Exception when calling LocationsAndTimeZonesApi->locationsbyCoords: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::LocationsAndTimeZonesApi;


my $api_instance = WWW::SwaggerClient::LocationsAndTimeZonesApi->new();
my $lat = 1.2; # Double | Geographical latitude
my $lng = 1.2; # Double | Geographical longitude
my $contentType = contentType_example; # String | 
my $key = key_example; # String | You AstroApp API access key.

eval { 
    $api_instance->locationsbyCoords(lat => $lat, lng => $lng, contentType => $contentType, key => $key);
};
if ($@) {
    warn "Exception when calling LocationsAndTimeZonesApi->locationsbyCoords: $@\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.LocationsAndTimeZonesApi()
lat = 1.2 # Double | Geographical latitude
lng = 1.2 # Double | Geographical longitude
contentType = contentType_example # String | 
key = key_example # String | You AstroApp API access key.

try: 
    # Locations by Coords
    api_instance.locationsby_coords(lat, lng, contentType, key)
except ApiException as e:
    print("Exception when calling LocationsAndTimeZonesApi->locationsbyCoords: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type*
String
Required
key*
String
You AstroApp API access key.
Required
Query parameters
Name Description
lat*
Double (double)
Geographical latitude
Required
lng*
Double (double)
Geographical longitude
Required

Responses

Status: 200 -


PredictiveCalculations

progressions

Progressions

The API to calculate astrological progressions. Chart data must provide all points to which aspects/progressions need to be calculated. The Objects filter parameter doesn't have any effect as of now. The target chart object must include date, time, location and the time zone. The date and time will be used to define the calculation period, where chart data is the starting point and target data is the end point for progressions listing. The target location will be used for all progression calculations. The target chart does not need to include calculation results.


/progressions

Usage and SDK Samples

curl -X POST "https://astroapp.com/astro/apis/progressions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PredictiveCalculationsApi;

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

public class PredictiveCalculationsApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();


        PredictiveCalculationsApi apiInstance = new PredictiveCalculationsApi();
        ProgressionsRequest body = {
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ],
    "eventTypes" : [ 1, 3 ],
    "progressionRate" : 0,
    "isHouseIngress" : true
  },
  "targetChart" : {
    "chartDate" : { },
    "elev" : 1,
    "lat" : 27.5,
    "lng" : 15.501,
    "chartName" : "Chart REST API transit",
    "coordSys" : "G",
    "houseSystemID" : 2,
    "jd" : 0,
    "tz" : "Australia/Brisbane",
    "zodiacID" : 100,
    "version" : 1
  },
  "chart" : {
    "chartData" : {
      "chartDate" : { },
      "elev" : 1,
      "lat" : 27.5,
      "lng" : 15.501,
      "chartName" : "Chart1 REST API transit",
      "coordSys" : "G",
      "houseSystemID" : 1,
      "jd" : 0,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "version" : 1
    },
    "houseCusps" : [ 0, 56.95275902492928, 83.27215458584944, 106.76314753306764, 131.58736650324437, 161.3227945684522, 197.89140721059414, 236.95275902492926, 263.2721545858494, 286.76314753306764, 311.58736650324437, 341.3227945684522, 17.89140721059415, 56.95275902492928 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // ProgressionsRequest | 
        String key = key_example; // String | AstroApp API key
        try {
            ProgressionsResponse result = apiInstance.progressions(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PredictiveCalculationsApi#progressions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PredictiveCalculationsApi;

public class PredictiveCalculationsApiExample {

    public static void main(String[] args) {
        PredictiveCalculationsApi apiInstance = new PredictiveCalculationsApi();
        ProgressionsRequest body = {
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ],
    "eventTypes" : [ 1, 3 ],
    "progressionRate" : 0,
    "isHouseIngress" : true
  },
  "targetChart" : {
    "chartDate" : { },
    "elev" : 1,
    "lat" : 27.5,
    "lng" : 15.501,
    "chartName" : "Chart REST API transit",
    "coordSys" : "G",
    "houseSystemID" : 2,
    "jd" : 0,
    "tz" : "Australia/Brisbane",
    "zodiacID" : 100,
    "version" : 1
  },
  "chart" : {
    "chartData" : {
      "chartDate" : { },
      "elev" : 1,
      "lat" : 27.5,
      "lng" : 15.501,
      "chartName" : "Chart1 REST API transit",
      "coordSys" : "G",
      "houseSystemID" : 1,
      "jd" : 0,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "version" : 1
    },
    "houseCusps" : [ 0, 56.95275902492928, 83.27215458584944, 106.76314753306764, 131.58736650324437, 161.3227945684522, 197.89140721059414, 236.95275902492926, 263.2721545858494, 286.76314753306764, 311.58736650324437, 341.3227945684522, 17.89140721059415, 56.95275902492928 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // ProgressionsRequest | 
        String key = key_example; // String | AstroApp API key
        try {
            ProgressionsResponse result = apiInstance.progressions(body, key);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PredictiveCalculationsApi#progressions");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
ProgressionsRequest *body = {
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ],
    "eventTypes" : [ 1, 3 ],
    "progressionRate" : 0,
    "isHouseIngress" : true
  },
  "targetChart" : {
    "chartDate" : { },
    "elev" : 1,
    "lat" : 27.5,
    "lng" : 15.501,
    "chartName" : "Chart REST API transit",
    "coordSys" : "G",
    "houseSystemID" : 2,
    "jd" : 0,
    "tz" : "Australia/Brisbane",
    "zodiacID" : 100,
    "version" : 1
  },
  "chart" : {
    "chartData" : {
      "chartDate" : { },
      "elev" : 1,
      "lat" : 27.5,
      "lng" : 15.501,
      "chartName" : "Chart1 REST API transit",
      "coordSys" : "G",
      "houseSystemID" : 1,
      "jd" : 0,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "version" : 1
    },
    "houseCusps" : [ 0, 56.95275902492928, 83.27215458584944, 106.76314753306764, 131.58736650324437, 161.3227945684522, 197.89140721059414, 236.95275902492926, 263.2721545858494, 286.76314753306764, 311.58736650324437, 341.3227945684522, 17.89140721059415, 56.95275902492928 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // 
String *key = key_example; // AstroApp API key

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

// Progressions
[apiInstance progressionsWith:body
    key:key
              completionHandler: ^(ProgressionsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var AstroAppRestApIs = require('astro_app_rest_ap_is');
var defaultClient = AstroAppRestApIs.ApiClient.instance;


var api = new AstroAppRestApIs.PredictiveCalculationsApi()
var body = {
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ],
    "eventTypes" : [ 1, 3 ],
    "progressionRate" : 0,
    "isHouseIngress" : true
  },
  "targetChart" : {
    "chartDate" : { },
    "elev" : 1,
    "lat" : 27.5,
    "lng" : 15.501,
    "chartName" : "Chart REST API transit",
    "coordSys" : "G",
    "houseSystemID" : 2,
    "jd" : 0,
    "tz" : "Australia/Brisbane",
    "zodiacID" : 100,
    "version" : 1
  },
  "chart" : {
    "chartData" : {
      "chartDate" : { },
      "elev" : 1,
      "lat" : 27.5,
      "lng" : 15.501,
      "chartName" : "Chart1 REST API transit",
      "coordSys" : "G",
      "houseSystemID" : 1,
      "jd" : 0,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "version" : 1
    },
    "houseCusps" : [ 0, 56.95275902492928, 83.27215458584944, 106.76314753306764, 131.58736650324437, 161.3227945684522, 197.89140721059414, 236.95275902492926, 263.2721545858494, 286.76314753306764, 311.58736650324437, 341.3227945684522, 17.89140721059415, 56.95275902492928 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // {{ProgressionsRequest}} 
var key = key_example; // {{String}} AstroApp API key

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

namespace Example
{
    public class progressionsExample
    {
        public void main()
        {


            var apiInstance = new PredictiveCalculationsApi();
            var body = new ProgressionsRequest(); // ProgressionsRequest | 
            var key = key_example;  // String | AstroApp API key

            try
            {
                // Progressions
                ProgressionsResponse result = apiInstance.progressions(body, key);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PredictiveCalculationsApi.progressions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');


$api_instance = new Swagger\Client\ApiPredictiveCalculationsApi();
$body = {
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ],
    "eventTypes" : [ 1, 3 ],
    "progressionRate" : 0,
    "isHouseIngress" : true
  },
  "targetChart" : {
    "chartDate" : { },
    "elev" : 1,
    "lat" : 27.5,
    "lng" : 15.501,
    "chartName" : "Chart REST API transit",
    "coordSys" : "G",
    "houseSystemID" : 2,
    "jd" : 0,
    "tz" : "Australia/Brisbane",
    "zodiacID" : 100,
    "version" : 1
  },
  "chart" : {
    "chartData" : {
      "chartDate" : { },
      "elev" : 1,
      "lat" : 27.5,
      "lng" : 15.501,
      "chartName" : "Chart1 REST API transit",
      "coordSys" : "G",
      "houseSystemID" : 1,
      "jd" : 0,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "version" : 1
    },
    "houseCusps" : [ 0, 56.95275902492928, 83.27215458584944, 106.76314753306764, 131.58736650324437, 161.3227945684522, 197.89140721059414, 236.95275902492926, 263.2721545858494, 286.76314753306764, 311.58736650324437, 341.3227945684522, 17.89140721059415, 56.95275902492928 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
}; // ProgressionsRequest | 
$key = key_example; // String | AstroApp API key

try {
    $result = $api_instance->progressions($body, $key);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PredictiveCalculationsApi->progressions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PredictiveCalculationsApi;


my $api_instance = WWW::SwaggerClient::PredictiveCalculationsApi->new();
my $body = WWW::SwaggerClient::Object::ProgressionsRequest->new(); # ProgressionsRequest | 
my $key = key_example; # String | AstroApp API key

eval { 
    my $result = $api_instance->progressions(body => $body, key => $key);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PredictiveCalculationsApi->progressions: $@\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.PredictiveCalculationsApi()
body = {
  "params" : {
    "objects" : [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15 ],
    "aspects" : [ 0, 30, 45, 60, 90, 120, 135, 150, 180 ],
    "eventTypes" : [ 1, 3 ],
    "progressionRate" : 0,
    "isHouseIngress" : true
  },
  "targetChart" : {
    "chartDate" : { },
    "elev" : 1,
    "lat" : 27.5,
    "lng" : 15.501,
    "chartName" : "Chart REST API transit",
    "coordSys" : "G",
    "houseSystemID" : 2,
    "jd" : 0,
    "tz" : "Australia/Brisbane",
    "zodiacID" : 100,
    "version" : 1
  },
  "chart" : {
    "chartData" : {
      "chartDate" : { },
      "elev" : 1,
      "lat" : 27.5,
      "lng" : 15.501,
      "chartName" : "Chart1 REST API transit",
      "coordSys" : "G",
      "houseSystemID" : 1,
      "jd" : 0,
      "tz" : "Australia/Brisbane",
      "zodiacID" : 100,
      "version" : 1
    },
    "houseCusps" : [ 0, 56.95275902492928, 83.27215458584944, 106.76314753306764, 131.58736650324437, 161.3227945684522, 197.89140721059414, 236.95275902492926, 263.2721545858494, 286.76314753306764, 311.58736650324437, 341.3227945684522, 17.89140721059415, 56.95275902492928 ],
    "objects" : [ {
      "id" : 0,
      "lat" : -2.4185262607601368E-5,
      "lng" : 132.5530611764038,
      "speed" : 0.9580980697973276
    }, {
      "id" : 1,
      "lat" : 0.18472555283975323,
      "lng" : 93.53453038354613,
      "speed" : 14.674778238770797
    }, {
      "id" : 2,
      "lat" : -1.3928250243447262,
      "lng" : 159.86355817522923,
      "speed" : 0.9883563240819169
    }, {
      "id" : 3,
      "lat" : -4.753016683251441,
      "lng" : 89.71936319181324,
      "speed" : 0.6783372162947274
    }, {
      "id" : 4,
      "lat" : 0.42855807310554445,
      "lng" : 93.47211211448054,
      "speed" : 0.6659960311692098
    }, {
      "id" : 5,
      "lat" : -1.0888236556291035,
      "lng" : 53.51205084806141,
      "speed" : 0.12180744117520598
    }, {
      "id" : 6,
      "lat" : -1.6848965120363257,
      "lng" : 333.1183499288868,
      "speed" : -0.06802003882006169
    }, {
      "id" : 7,
      "lat" : 0.7344924887884263,
      "lng" : 158.67161566181642,
      "speed" : 0.05794192721152667
    }, {
      "id" : 8,
      "lat" : 1.7684753833886018,
      "lng" : 225.08081533606764,
      "speed" : 0.004713567796983999
    }, {
      "id" : 9,
      "lat" : 13.651622194093484,
      "lng" : 162.87797198775937,
      "speed" : 0.031318995996427394
    }, {
      "id" : 11,
      "lat" : 0,
      "lng" : 91.49616109076942,
      "speed" : -0.0033910007050202036
    }, {
      "id" : 15,
      "lat" : 4.955307900081983,
      "lng" : 347.9524244980293,
      "speed" : -0.035600876658640764
    } ]
  }
} # ProgressionsRequest | 
key = key_example # String | AstroApp API key

try: 
    # Progressions
    api_response = api_instance.progressions(body, key)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PredictiveCalculationsApi->progressions: %s\n" % e)

Parameters

Header parameters
Name Description
key*
String
AstroApp API key
Required
Body parameters
Name Description
body *

Responses

Status: 200 -