Skip to content

New method getArticleProperties()#345

Merged
macbre merged 1 commit intodevelfrom
new/getArticleProperties
Jul 1, 2022
Merged

New method getArticleProperties()#345
macbre merged 1 commit intodevelfrom
new/getArticleProperties

Conversation

@macbre
Copy link
Copy Markdown
Owner

@macbre macbre commented Jul 1, 2022

Example: https://en.wikipedia.org/w/api.php?action=query&format=json&redirects=1&titles=Saksun&prop=pageprops

$ curl -s 'https://en.wikipedia.org/w/api.php?action=query&format=json&redirects=1&titles=Saksun&prop=pageprops'  | jq '.query.pages."5696731".pageprops'
{
  "page_image_free": "Saksun,_Faroe_Islands_(2).JPG",
  "wikibase-shortdesc": "Village in Faroe Islands, Kingdom of Denmark",
  "wikibase_item": "Q928875"
}

@macbre macbre merged commit ac2fdd5 into devel Jul 1, 2022
@macbre macbre deleted the new/getArticleProperties branch July 1, 2022 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant