Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IpstackRepositoryOptions

Hierarchy

  • IpstackRepositoryOptions

Properties

Properties

Readonly apiKey

apiKey: string

Service api key.

Readonly hooks

hooks: object

Hooks.

Type declaration

  • onIpRetrievalError: function

    Hook called when ip retrieval fails with an error.

    param

    Error that was thrown.

      • (err: Error): void
      • Parameters

        • err: Error

        Returns void

Readonly lang

lang: "en" | "de" | "es" | "fr" | "ja" | "pt-br" | "ru" | "zh"

Language of the location details.

Code Language
en English/US
de German
es Spanish
fr French
ja Japanese
pt-br Portuguese (Brazil)
ru Russian
zh Chinese

Readonly plan

Subscription plan.

Readonly weight

weight: number

Weight of the repo.