-
Notifications
You must be signed in to change notification settings - Fork 0
sis.api
Ionut Moraru edited this page Mar 9, 2015
·
7 revisions
The sis.api module provides a set of AngularJS services which can be injected inside controllers and facilitate the communication with the SIS API.
- OauthService
- FacilitiesService
- OrganizationsService
- BuildingsService
- FeedsService
- OutputsService
- UsersService
- WeatherService
- RatesService
The module implements the Oauth authorization by default.
The sisToken
value must be set in order to authorize API calls.
Example:
sisToken.token_type = 'bearer';
sisToken.access_token = 'af36b2ad7cd83137a9df370a24246da90a3e3fas';
sisToken.expires_in = 2678400;
sisToken.refresh_token = '256d2cd96e389f2904ac831a6d93b7133cd79211';