(private) new Zermelo(apiUrl, sessionInfo)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
apiUrl |
String | |
sessionInfo |
SessionInfo |
Methods
(private) _url(slug) → {String}
- Source:
Builds an url with this._apiUrl
and the current's session accessToken,
while adding slug
.
Parameters:
Name | Type | Description |
---|---|---|
slug |
String |
Returns:
- Type
- String
announcements(optionsopt) → {Promise.<Array.<Announcement>>}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
{}
|
Properties
|
Returns:
- Type
- Promise.<Array.<Announcement>>
appointments(from, toopt, optionsopt) → {Promise.<Array.<Appointment>>}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
from |
Date | ||||||||||||||||||||||||||||||||||||||
to |
Date |
<optional> |
from + 1 day
|
||||||||||||||||||||||||||||||||||||
options |
Object |
<optional> |
{}
|
Properties
|
Returns:
- Type
- Promise.<Array.<Appointment>>
school() → {Promise.<School>}
- Source:
Returns:
- Type
- Promise.<School>
userInfo() → {Promise.<User>}
- Source:
Returns:
- Type
- Promise.<User>