From b028530bc73690fbacc06943cc14c272a35edf91 Mon Sep 17 00:00:00 2001 From: Oreoluwa Oluwasina Date: Tue, 21 Oct 2025 11:44:43 +0100 Subject: [PATCH 1/3] Added Wikipedia to the documentation --- sources.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/sources.md b/sources.md index 1b4a4ba2..a1aec00a 100644 --- a/sources.md +++ b/sources.md @@ -174,3 +174,21 @@ adjust video parameters, and obtain search results. - API key required - Query limit: depends on the type and number of requests - Data available through JSON format + +## Wikipedia API + +**Description:** The Wikipedia API allows users to query statistics of pages, +categories, revisions from a public API endpoint. We have included two urls in the project: The WIKIPEDIA_BASE_URL AND WIKIPEDIA_MATRIX_URL. The WIKIPEDIA_BASE_URL provides access to articles, categories, and metadata from the English version of Wikipedia. +It runs on the MediaWiki Action API, but this instance only provides English Wikipedia data. +Then the WIKIPEDIA_MATRIX_URL provides access to information of all wikimedia projects including the different language edition of wikipedia. It runs on the Meta-Wiki API. + +**API documentation link:** +https://meta.wikimedia.org/w/api.php - Meta-Wiki +https://www.mediawiki.org/wiki/API:Sitematrix +https://en.wikipedia.org/w/api.php - English instance +https://www.mediawiki.org/wiki/API:Main_page + +**API information:** + - No API key required + - Query limit: It is rate-limited only to prevent abuse + - Data available through XML or JSON format From 80423328af85836e2888190f8180f382602477b2 Mon Sep 17 00:00:00 2001 From: Oreoluwa Oluwasina Date: Tue, 21 Oct 2025 21:07:08 +0100 Subject: [PATCH 2/3] Made requested changes --- sources.md | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/sources.md b/sources.md index 97664363..206ab693 100644 --- a/sources.md +++ b/sources.md @@ -82,20 +82,25 @@ and access towards related query data using a programmable search engine. - Data available through JSON format -## Wikipedia API +## Wikipedia **Description:** The Wikipedia API allows users to query statistics of pages, -categories, revisions from a public API endpoint. We have included two urls in the project: The WIKIPEDIA_BASE_URL AND WIKIPEDIA_MATRIX_URL. The WIKIPEDIA_BASE_URL provides access to articles, categories, and metadata from the English version of Wikipedia. -It runs on the MediaWiki Action API, but this instance only provides English Wikipedia data. -Then the WIKIPEDIA_MATRIX_URL provides access to information of all wikimedia projects including the different language edition of wikipedia. It runs on the Meta-Wiki API. +categories, revisions from a public API endpoint. We have included two urls in +the project: The `WIKIPEDIA_BASE_URL` AND `WIKIPEDIA_MATRIX_URL`. The +`WIKIPEDIA_BASE_URL` provides access to articles, categories, and metadata from +the English version of Wikipedia. It runs on the MediaWiki Action API, but this +instance only provides English Wikipedia data. Then the `WIKIPEDIA_MATRIX_URL` +provides access to information of all wikimedia projects including the different +language edition of wikipedia. It runs on the Meta-Wiki API. **API documentation link:** -https://meta.wikimedia.org/w/api.php - Meta-Wiki -https://www.mediawiki.org/wiki/API:Sitematrix -https://en.wikipedia.org/w/api.php - English instance -https://www.mediawiki.org/wiki/API:Main_page +[WIKIPEDIA_BASE_URL documentation](https://en.wikipedia.org/w/api.php) +[WIKIPEDIA_BASE_URL reference page](https://www.mediawiki.org/wiki/API:Main_page) +[WIKIPEDIA_MATRIX_URL documentation](https://meta.wikimedia.org/w/api.php) +[WIKIPEDIA_MATRIX_URL reference page](https://www.mediawiki.org/wiki/API:Sitematrix) **API information:** - - No API key required - - Query limit: It is rate-limited only to prevent abuse - - Data available through XML or JSON format \ No newline at end of file +- No API key required +- Query limit: It is rate-limited only to prevent abuse +- Data available through XML or JSON format +>>>>>>> 568ed70 (Made requested changes) From f868c41275837a5c60d182e80e2ad8e467a294b0 Mon Sep 17 00:00:00 2001 From: Oreoluwa Oluwasina Date: Tue, 21 Oct 2025 21:19:39 +0100 Subject: [PATCH 3/3] Added Wikipedia to the documentation --- sources.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/sources.md b/sources.md index 206ab693..a4119ee5 100644 --- a/sources.md +++ b/sources.md @@ -81,7 +81,6 @@ and access towards related query data using a programmable search engine. 5000 requests per hour if authenticated - Data available through JSON format - ## Wikipedia **Description:** The Wikipedia API allows users to query statistics of pages, @@ -103,4 +102,3 @@ language edition of wikipedia. It runs on the Meta-Wiki API. - No API key required - Query limit: It is rate-limited only to prevent abuse - Data available through XML or JSON format ->>>>>>> 568ed70 (Made requested changes)