{"id":15134699,"url":"https://github.com/cxuesong/wikiclientlibrary","last_synced_at":"2025-05-16T08:05:38.173Z","repository":{"id":10501707,"uuid":"65969777","full_name":"CXuesong/WikiClientLibrary","owner":"CXuesong","description":"/*🌻*/ Wiki Client Library is an asynchronous MediaWiki API client library targeting modern .NET platforms","archived":false,"fork":false,"pushed_at":"2025-04-29T13:51:09.000Z","size":68473,"stargazers_count":85,"open_issues_count":18,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-16T08:05:32.010Z","etag":null,"topics":["cargo","fandom","fandom-wiki","mediawiki","mediawiki-api","mediawiki-bot","scribunto","structured-discussion","wikia","wikia-api","wikibase","wikidata","wikidata-bot"],"latest_commit_sha":null,"homepage":"https://github.com/CXuesong/WikiClientLibrary/wiki","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CXuesong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"CXuesong","tidelift":null,"community_bridge":null,"custom":null}},"created_at":"2016-08-18T06:05:54.000Z","updated_at":"2025-04-29T13:51:12.000Z","dependencies_parsed_at":"2024-02-15T10:30:11.962Z","dependency_job_id":"1dfdcc4c-ba12-4363-8f4f-a7f98c7ac04f","html_url":"https://github.com/CXuesong/WikiClientLibrary","commit_stats":{"total_commits":856,"total_committers":10,"mean_commits":85.6,"dds":"0.026869158878504718","last_synced_commit":"be7e9cfabf67a962490a22bbc78e216dd5ad0ae1"},"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXuesong%2FWikiClientLibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXuesong%2FWikiClientLibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXuesong%2FWikiClientLibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CXuesong%2FWikiClientLibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CXuesong","download_url":"https://codeload.github.com/CXuesong/WikiClientLibrary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254493378,"owners_count":22080126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cargo","fandom","fandom-wiki","mediawiki","mediawiki-api","mediawiki-bot","scribunto","structured-discussion","wikia","wikia-api","wikibase","wikidata","wikidata-bot"],"created_at":"2024-09-26T05:23:49.483Z","updated_at":"2025-05-16T08:05:33.163Z","avatar_url":"https://github.com/CXuesong.png","language":"C#","funding_links":["https://ko-fi.com/CXuesong"],"categories":[],"sub_categories":[],"readme":"# Wiki Client Library\n\n[![CI](https://github.com/CXuesong/WikiClientLibrary/actions/workflows/ci.yml/badge.svg)](https://github.com/CXuesong/WikiClientLibrary/actions/workflows/ci.yml) [![Gitter](https://badges.gitter.im/CXuesong/WikiClientLibrary.svg?style=flat-square)](https://gitter.im/CXuesong/WikiClientLibrary?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\nA hand-crafted asynchronous [MediaWiki](https://www.mediawiki.org/) API client library for wiki sites (including [Wikipedia](https://www.wikipedia.org/) and its sister projects, as well as [FANDOM](\u003chttps://community.fandom.com/wiki/Community_Central\u003e) and [Wikia.org](\u003chttps://www.wikia.org/\u003e). The library targets at .NET 6.0 \u0026 8.0 (See [Supported Platforms](https://docs.microsoft.com/en-us/dotnet/standard/net-standard#net-platforms-support)), and focuses on the API compatibility with MediaWiki 1.19, as well as the state-of-art APIs of MediaWiki (i.e. 1.34-wmf, as in 2019-05). Other versions in between are hopefully also compatible.\n\n\u003e For migrated FANDOM sites on MW 1.33+ (See [UCP migration post](https://community.fandom.com/wiki/User_blog:MisterWoodhouse/The_first_migrations_to_the_Unified_Community_Platform)), you may need to use Bot Password in order to login successfully.\n\n\u003e If you are on prior versions of .NET Core or .NET Framework, you may use prior version of the WCL packages.\n\u003e * WCL v0.7.x libraries target .NET Standard 1.1 and has dependency on `Newtonsoft.Json`\n\u003e * WCL v0.8.x libraries target .NET Standard 2.1, .NET 6.0 \u0026 .NET 8.0, and has dependency on `Newtonsoft.Json`\n\nThe packages `CXuesong.MW.WikiClientLibrary.*` are now available on NuGet. E.g. you may install the main package using the following command\n\n```powershell\n#  Package Management Console\nInstall-Package CXuesong.MW.WikiClientLibrary\n#  .NET CLI\ndotnet add package CXuesong.MW.WikiClientLibrary\n```\n\n| Package                                                      | Status                                                       |\n| ------------------------------------------------------------ | ------------------------------------------------------------ |\n| [CXuesong.MW.WikiClientLibrary](https://www.nuget.org/packages/CXuesong.MW.WikiClientLibrary) | ![NuGet version (CXuesong.MW.WikiClientLibrary)](https://img.shields.io/nuget/vpre/CXuesong.MW.WikiClientLibrary.svg?style=flat-square) ![NuGet version (CXuesong.MW.WikiClientLibrary)](https://img.shields.io/nuget/dt/CXuesong.MW.WikiClientLibrary.svg?style=flat-square) |\n| [CXuesong.MW.WikiClientLibrary.Cargo](https://www.nuget.org/packages/CXuesong.MW.WikiClientLibrary.Cargo) | ![NuGet version (CXuesong.MW.WikiClientLibrary.Cargo)](https://img.shields.io/nuget/vpre/CXuesong.MW.WikiClientLibrary.Cargo.svg?style=flat-square)![NuGet version (CXuesong.MW.WikiClientLibrary)](https://img.shields.io/nuget/dt/CXuesong.MW.WikiClientLibrary.Cargo.svg?style=flat-square) |\n| [CXuesong.MW.WikiClientLibrary.Flow](https://www.nuget.org/packages/CXuesong.MW.WikiClientLibrary.Flow) | ![NuGet version (CXuesong.MW.WikiClientLibrary.Flow)](https://img.shields.io/nuget/vpre/CXuesong.MW.WikiClientLibrary.Flow.svg?style=flat-square) ![NuGet version (CXuesong.MW.WikiClientLibrary.Flow)](https://img.shields.io/nuget/dt/CXuesong.MW.WikiClientLibrary.Flow.svg?style=flat-square) |\n| [CXuesong.MW.WikiClientLibrary.Wikia](https://www.nuget.org/packages/CXuesong.MW.WikiClientLibrary.Wikia) | ![NuGet version (CXuesong.MW.WikiClientLibrary.Wikia)](https://img.shields.io/nuget/vpre/CXuesong.MW.WikiClientLibrary.Wikia.svg?style=flat-square) ![NuGet version (CXuesong.MW.WikiClientLibrary.Wikia)](https://img.shields.io/nuget/dt/CXuesong.MW.WikiClientLibrary.Wikia.svg?style=flat-square) |\n| [CXuesong.MW.WikiClientLibrary.Wikibase](https://www.nuget.org/packages/CXuesong.MW.WikiClientLibrary.Wikibase) | ![NuGet version (CXuesong.MW.WikiClientLibrary.Wikibase)](https://img.shields.io/nuget/vpre/CXuesong.MW.WikiClientLibrary.Wikibase.svg?style=flat-square) ![NuGet version (CXuesong.MW.WikiClientLibrary.Wikibase)](https://img.shields.io/nuget/dt/CXuesong.MW.WikiClientLibrary.Wikibase.svg?style=flat-square) |\n\nIf you bump into bugs, have any suggestions or feature requests, feel free to open an issue. Any contributions on documentations (code annotations \u0026 repository wiki) are also welcomed. Thank you.\n\n## See also\n\n* [Repository Wiki](https://github.com/CXuesong/WikiClientLibrary/wiki) (getting started \u0026 conceptual documentations)\n* [Library Documentation](https://cxuesong.github.io/WikiClientLibrary) (for latest pre-release)\n* [FuGet Gallery](https://www.fuget.org/packages/CXuesong.MW.WikiClientLibrary) (inspect \u0026 diff public API)\n* [Releases](https://github.com/CXuesong/WikiClientLibrary/releases)\n\n## Overview\n\nDeveloped in Visual Studio 2019, this portable \u0026 asynchronous MediaWiki API client provides an easy and asynchronous access to commonly-used MediaWiki API. The library has the following features\n\n*   Queries for and edits to pages, categories, and files; page information inspection; file uploading.\n*   Login/logout via simple asynchronous functions.\n\n    *   Client code has access to `CookieContainer`, and therefore has chance to persist it.\n*   Tokens are encapsulated in the library functions, so that client won't bother to retrieve them over and over again.\n*   Query continuations are encapsulated by `IAsyncEnumerable`, which will ease the pain when using page generators.\n*   Other miscellaneous MediaWiki API, such as\n\n    *   OpenSearch\n    *   Page parsing\n    *   Patrol\n*   Scribunto Lua console and server-side module execution support\n*   StructuredDiscussions (aka. Flow) support\n*   Basic Wikibase (Wikidata's back-end) API support; the library provides facility to consume Wikibase JSON dump\n*   Basic FANDOM / Wikia API (Nirvana, Wikia AJAX, and Wikia REST-ful API v1) support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxuesong%2Fwikiclientlibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxuesong%2Fwikiclientlibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxuesong%2Fwikiclientlibrary/lists"}