AstroApp APIs
Overview
AstroApp provides you with JavaScript APIs that can be used to add
charting functionality to your web sites.
All you need to know is HTML and basic JavaScript. There is no need for
any kind of server side coding (PHP, CGI and so on).
Note: AstroApp subscriptions to the Pro or Financial Gold
editions allow integration with your personal web sites only (1 HTML
page per subscription). If you would like to integrate the available
functionality with commercial web sites, please contact AstroApp Team
for licensing terms and conditions.
Obtaining your API access Key.
If you want to use AstroApp APIs, you should first generate your API
Access Key.
- Select the Utilities/APIs...
menu option.
- Provide URL for your web site in the following format:
[http://yoursite.com]. All the values listed below are also valid:
- https://yoursite.com
- http://mysubdomain.yoursite.com
- http://yoursite.com/myGreatPage.html
- Click the Generate Access Code
button.
- Click the Save button.
You're all set.
Using your API access Key.
- Using your Key to integrate Clients Management
System in your web site.
Use the following HTML snippet anywhere on your web site/web
page: <iframe src="http://astroapp.com/astro/myclients/?key=your_API_Access_Code"
width="1000" height="600"></iframe>
- Using your Key with AstroApp APIs. [Advanced]
All you need to do is to add the following line to your
html page using the generated Access
Code string:
<script type="text/javascript"
src="http://astroapp.com/astro/astroapi?key=your_API_Access_Code"></script>
It's recommended to put this line in the <head> of your html page.
This will allow you to use AstroApp APIs on your web site.