Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.38 KB

README.md

File metadata and controls

48 lines (29 loc) · 1.38 KB

alt text

Wikia

Wikia is a C# library that makes it easy to access Wiki data.

How?

Every wiki has its API accessible through URL: {wikidomain}/api/v1/.

For example:

  1. http://www.wikia.com/api/v1/
  2. http://yugioh.wikia.com/api/v1/
  3. http://naruto.wikia.com/api/v1/
  4. http://elderscrolls.wikia.com/api/v1/

For a quickstart, http://api.wikia.com/wiki/Quick_Start

For documentation, http://api.wikia.com/wiki/Documentation

NuGet

PM> Install-Package wikia

Quickstart

// wiki domain
string domainUrl = "http://yugioh.wikia.com";

// Article endpoint
IWikiArticle articles = new WikiArticle(domainUrl);

// Get Yugioh Wiki new articles
var result = articles.NewArticles();

Endpoints

For a list of all endpoints, visit wiki api using {wikidomain}/api/v1/ format.

Example: For Yugioh Wiki Api endpoints, i'd use http://yugioh.wikia.com/api/v1/.

Notice the domain is "http://yugioh.wikia.com" and the suffix is "/api/v1/"

License

This project is licensed under the MIT License - see the LICENSE.md file for details.