IPGeolocationOpts: {
    apiKey?: string;
    apiUrl?: string;
    fetchFn?: FetchFunction;
    fetchOpts?: Record<string, unknown>;
    headers?: Record<string, unknown>;
    service?: IPGeolocationService;
}

Type declaration

  • OptionalapiKey?: string

    API key/token for access to paid APIs

  • OptionalapiUrl?: string
  • OptionalfetchFn?: FetchFunction

    e.g. GM_fetch, ofetch.native and etc

  • OptionalfetchOpts?: Record<string, unknown>

    e.g. { dispatcher: ... }

  • Optionalheaders?: Record<string, unknown>
  • Optionalservice?: IPGeolocationService