fetchQuery
Fetch data from Airstack by calling queries to the Airstack API. If you need any pagination, use fetchQueryWithPagination instead.
Pre-requisites
Calling
init
function
Example
Function Signature
Params
Param | Type | Default Value | Description |
---|---|---|---|
|
| Airstack GraphQL query | |
|
| GraphQL query variables |
Responses
Param | Type | Default Value | Description |
---|---|---|---|
|
| Response data from GraphQL | |
|
| Error logs from GraphQL query if API call failed. |
Last updated
Was this helpful?