- Source:
Methods
(async) fetch(attrs) → {object}
Request data from an upstream API, transform it to JSON and validate against a schema
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attrs |
object | Refer to individual attrs Properties
|
- Source:
Returns:
Parsed response
- Type
- object