Methods
# enableClearCache()
You can use this to enable clearing API cache for each request to ensure the server gives the latest data.
Example
externalCodeSetup.axiosApi.enableClearCache();
# setAchievementsParams(params)
Sets additional params used for fetching achievements that you can display in the achievements sections of your app.
Parameters:
Name | Type | Description |
---|---|---|
params |
Object |
Example
Add an "orderby" parameter when fetching achievements API
externalCodeSetup.axiosApi.setAchievementsParams({orderby: "date"});