IndoorAtlas API
Installation
npm install indooratlas --save
Requiring
require('indooratlas').create('username', 'password', function(err, atlas) {
});
User Data
atlas.user(function(err, data) {
});
User Data
atlas.user(function(err, data) {
});
Venues
Fetch global venues
atlas.globalVenues(function(err, data) {
});
Fetch global venues in geographic region
atlas.globalVenues({
latlon: '51.50232867181172,-0.05566772460937841',
radius: 5187,
json: true
}, function(err, data) {
});
Fetch your user venues
atlas.venues(function(err, data) {
});
Applications
Create an application
atlas.createApplication({
name: 'App name',
description: 'Description'
}, function(err, data) {
});
Delete an application
atlas.deleteApplication(applicationId, function(err, data) {
});
Fetch your application data
atlas.applications(function(err, data) {
});
Fetch API keys for an application
atlas.applicationApiKeys(applicationId, function(err, data) {
});