Skip to content

Commit 021e4c4

Browse files
authored
Merge pull request #209 from oree-xx/documentation/add-wikipedia-api-doc
Add Wikipedia as data source to the documentation
2 parents d95a928 + f868c41 commit 021e4c4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

sources.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,25 @@ and access towards related query data using a programmable search engine.
8080
- Query limit: 60 requests per hour if unauthenticated,
8181
5000 requests per hour if authenticated
8282
- Data available through JSON format
83+
84+
## Wikipedia
85+
86+
**Description:** The Wikipedia API allows users to query statistics of pages,
87+
categories, revisions from a public API endpoint. We have included two urls in
88+
the project: The `WIKIPEDIA_BASE_URL` AND `WIKIPEDIA_MATRIX_URL`. The
89+
`WIKIPEDIA_BASE_URL` provides access to articles, categories, and metadata from
90+
the English version of Wikipedia. It runs on the MediaWiki Action API, but this
91+
instance only provides English Wikipedia data. Then the `WIKIPEDIA_MATRIX_URL`
92+
provides access to information of all wikimedia projects including the different
93+
language edition of wikipedia. It runs on the Meta-Wiki API.
94+
95+
**API documentation link:**
96+
[WIKIPEDIA_BASE_URL documentation](https://en.wikipedia.org/w/api.php)
97+
[WIKIPEDIA_BASE_URL reference page](https://www.mediawiki.org/wiki/API:Main_page)
98+
[WIKIPEDIA_MATRIX_URL documentation](https://meta.wikimedia.org/w/api.php)
99+
[WIKIPEDIA_MATRIX_URL reference page](https://www.mediawiki.org/wiki/API:Sitematrix)
100+
101+
**API information:**
102+
- No API key required
103+
- Query limit: It is rate-limited only to prevent abuse
104+
- Data available through XML or JSON format

0 commit comments

Comments
 (0)