Socialid.wifi.API.getVenue

From Social ID Developers
Jump to: navigation, search

Contents

Description

Returns current venue information.

Usage

 api.getVenue()

API Response

promise A "Q" promise [1] that will eventually be resolved to the response data Javascript object.

Response Data

The data object properties are:

name Name of the current venue, as configured in the Wi-Fi admin dashboard.

Example

 var api = new socialid.wifi.API(appConfig.path_name);
 api.getVenue().then(function(data) { console.log(data); });

Example of "data" object:

 data = {
   name: "Venue A"
 }
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox