Wikia

Wikia API Wiki

Wikia Content API

Comments10
25pages on
this wiki

Redirected from Documentation

This article describes basics of Wikia Content API an concepts used in API documentation page.

How to access Wikia Content API?Edit

Every wikia has it's API accessible through URL: {wikidomain}/api/v1/.

For example:

Please note that some methods (such us WAM score or wikia details) are available only on http://www.wikia.com/api/v1/

Before using our API, please make sure to read our terms of use.

Usage examplesEdit

Articles - acquire information about articlesEdit

Wikias - acquire information about wikiasEdit

User - get information about Wikia usersEdit

DictionaryEdit

WikiEdit

Single instance of a website about given subject, usually under <xyz-domain>.wikia.com.

PageEdit

Single sub-page in the wiki, it can be article page, file page, category page, etc...

ArticleEdit

Single sub-page in the wiki but only belonging to the article namespace.

NamespaceEdit

Pages on a MediaWiki are grouped into collections called "namespaces", which differentiate between the purpose of the pages at a high level. Pages in certain namespaces can also have special properties or behave differently when they interact with other pages.

TitleEdit

In the mediawiki system, Namespace+Title is an universal identifier for resources. Every resource (Article, File, Category, etc) has it’s title and it is as good as numeric ID.

FileEdit

Any media element supported by Wikia (mainly videos and images) which are stored in a file page of a given wiki. Files are stored in namespace number 6. Wikia does not host video streams itself, we store only thumbnail and metadata, video streams comes from external providers.

CategoryEdit

Categories are defined by users. Every article can have unlimited number of categories.

HubEdit

Each of the three main Wikia verticals which contain information related to either Videogames, Entertainment or Lifestyle.

RevisionEdit

Every article on the wiki has its revision. If user edit the article, new revision is created, the older version of the article is not deleted. You can access previous article revision by it’s revisionId.

Complex parametersEdit

NamespacesEdit

comma separated numbers should be provided

  • “0” - will contain main namespace pages only
  • “0,6” - will contain files and main namespace pages
  • “6,14” - will contain files and category namespace pages

CategoryEdit

category name should be provided, this param is case sensitive, also all special chars should be included, only one value is accepted

  • “Characters”
  • “Animated Characters”
  • “Play-Along Video Characters”

HubEdit

hub name should be provided, param is case insensitive, only one value is accepted

  • “gaming”
  • “lifestyle”
  • “entertainment”

LangEdit

two letter language code should be provided, comma separated multiple values are accepted

  • “en”
  • “en,de,es”
  • “fr,it,pl”

one lang version: two letter language code should be provided, only one value is accepted

  • “en”

IdsEdit

articles id should be provided, comma separated multiple values are accepted

  • “1”
  • “2,60,3,6542”
  • “544,50”

TitlesEdit

page title should be pass, this param is case sensitive, also all special chars should be included, comma separated multiple values are accepted

  • “First”
  • “First,Second,The Third One”
  • “The Fourth: the Last”

ModuleEdit

marketing module id as an number should be pass, one value is accepted accepted values:

value module
1 slider
3 wikias-picks
4 featured-video
5 explore
6 from-the-community
7 polls
9 popular-videos

examples:

  • “1”

VerticalEdit

id representing category, one value is accepted accepted values:

value category
1 humor
2 gaming
3 entertainment
4 corporate
5 toys
6 food and drink
7 travel
8 education
9 lifestyle
10 finance
11 politics
12 technology
13 science
14 philosophy
15 sports
16 music
17 creative
18 auto
19 green
20 answers

examples:

  • “4”

API accessibilityEdit

SearchSuggestionsApiEdit

this API is not available on the main domain

RelatedPagesApiEdit

this API is not available on the main domain

Around Wikia's network

Random Wiki