# AxisAPI Documentation
The AxisAPI is used to establish a connection with a QlikSense server and get information from it.  It is used in tandem with [Qlik's Engine API](http://help.qlik.com/sense/2.0/en-US/developer/)  to create objects, make selections, and anything else you would do inside of a native QlikSense application.

The following snippet shows how to:

1) Connect to the Sense Server

2) Open an application

3) Create a session object


```javascript

var appId = 'e96629fd-902d-4e33-9bf2-12a8cf8de3e7';
		
	var global = axisAPI.global()
		.host('sense.axisgroup.com')
		.isSecure(false)
		.sessionId(appId)
		.connect();
	var app = axisAPI.app()
		.appId(appId)
		.global(global)
		.open();
		
	var prop =  {
            'totalSales':{ qValueExpression: '=sum([Sales Amount])'},
            'qInfo':
                {
                'qType': 'qValueExpr',
                }
        };
	var obj = axisAPI.object()
		.app(app)
		.prop(prop)
		.on('create',function(object){
		})
		.on('paint',function(object){
		})
		.create();
		
	var obj2 = axisAPI.object()
		.app(app)
		.qId('qZPdytp')
		.on('create',function(object){
		})
		.on('paint',function(object){
		})
		.create();
```

Refer to the [axisAPI Wiki](https://github.com/axisgroup/axisAPI/wiki) to see the details about each step in the process.  There are also training exercises to help build your understanding.  
