nodewikiaapi

Class

WikiaAPI

Object wrapping a particular wiki's Wikia API V1.

Constructor

new WikiaAPI(subdomain, languageopt)

Parameters

  • subdomain string

    Subdomain, for example "dev" for "dev.fandom.com"

  • language string <optional>

    Optional language code, for example "pl" for "leagueoflegends.fandom.com/pl"

Source

Members

readonly

apiBasepathstring

Basepath of Wikia API V1 for the given subdomain and language, for example "http://dev.fandom.com/api/v1/".

Type

  • string

Source

languagestring|null

Language code, for example "pl" for "leagueoflegends.fandom.com/pl".

Type

  • string | null

Source

subdomainstring

Subdomain, for example "dev" for "dev.fandom.com".

Type

  • string

Source

Methods