Jump to content

API:Web APIs hub: Difference between revisions

From mediawiki.org
Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit
m Reverted edits by 188.48.162.158 (talk) to last version by Matiia
Tag: Rollback
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__ {{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}} {{Dev-Article}} <indicator name="dev-help">[[File:VisualEditor_-_Icon_-_Help.svg|24px|link=mw:Web APIs hub]] [[mw:Web APIs hub|What is this?]]</indicator>

= Equip your projects with free knowledge =
= Equip your projects with free knowledge =


Line 47: Line 49:
</div>
</div>
</div>
</div>

= Build =
* The MediaWiki action API ([[mw:API:Action API|documentation]]) is a collection of API modules on each wiki that let you query and manipulate its content.
<div class="mw-collapsible mw-collapsed" style="background-color: #89bf04;">
&nbsp;Click [Expand] to display the menu for the action API pages →
<div class="mw-collapsible-content">{{TNT|API}}</div>
</div>
{{clear}}
:* The Wikidata API ([[mw:API:Wikidata|documentation]]) consists of several such modules running on [[wikidata:|Wikidata]] wiki that let you query and manipulate language-independent information.
* The RESTBase content API ([https://en.wikipedia.org/api/rest_v1/ generated documentation]) runs on each wiki so you can retrieve page content quickly and easily.
* You can search wiki content using various modules in the action API, and Wikidata has its own [[mw:Wikidata query service|Wikidata query service]]. [[mw:API:Search and discovery|Search and discovery]] provides an overview.

There are [[mw:How to contribute|many other ways to contribute]] to MediaWiki.

Revision as of 16:47, 5 July 2018

   Template:Dev-Article 

Equip your projects with free knowledge

Free multilingual information
on Wikipedia and sister projects
Free images and media files
on Wikimedia Commons
Free structured data
on Wikidata
  • Extract, publish, edit, and monitor information in real time using the Wikimedia web APIs.
  • Analyze in detail our entire Wikimedia datasets.
  • Extend and contribute to hundreds of Wikimedia free software projects.

Inspire

This shows the API results that search results use to display additional information about articles, including a lead image and a description of the article's subject from Wikidata.

"Nearby" feature in Wikipedia beta Android app, cropped

This shows how to query the MediaWiki API for nearby articles

  • More: the WikimediaKiosk cycles through a variety of interesting projects and data visualizations.

Explore

Make requests and see results in the MediaWiki API Sandbox

width=250px

Request content and metadata of Wikimedia articles with our REST API

width=250px

Build

  • The MediaWiki action API (documentation) is a collection of API modules on each wiki that let you query and manipulate its content.

 Click [Expand] to display the menu for the action API pages →

  • The Wikidata API (documentation) consists of several such modules running on Wikidata wiki that let you query and manipulate language-independent information.

There are many other ways to contribute to MediaWiki.