UNPKG

@varandas/clash-royale-api

Version:

A Clash Royale API official wrapper for seamless integration with your applications.

10 lines (9 loc) 382 B
/** * Creates an axios instance with the required * Authorization headers to use the official api. * * @param {string} token - The api token from https://developer.clashroyale.com * @param {string} baseUrl - The base url for the api (optional) */ declare const getAxiosInstance: (token: string, baseUrl?: string) => import("axios").AxiosInstance; export { getAxiosInstance };