Wikia is a C# .Net 6.0 library that provides resource oriented interfaces and clients for the Wikia Api.
Every wiki has its API accessible through URL: {wikidomain}/api/v1/.
For example:
- http://www.wikia.com/api/v1/
- http://yugioh.fandom.com/api/v1/
- http://naruto.fandom.com/api/v1/
- http://elderscrolls.fandom.com/api/v1/
PM> Install-Package wikia.core
// wiki domainstringdomainUrl="http://yugioh.fandom.com";// Article endpointIWikiArticleListarticles=newWikiArticleList(domainUrl);// Get all Yugioh card tips ordered alphabeticallyvarresult=articles.AlphabeticalList("Card Tips");// Get articles by idIWikiArticlearticle=newWikiArticle(domainUrl);vararticleId=50// Detail infovararticleDetailsResult=article.Details(articleId);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.fandom.com/api/v1/.
Notice the domain is "http://yugioh.fandom.com" and the suffix is "/api/v1/"
This project is licensed under the MIT License - see the LICENSE.md file for details.