Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New method getArticleProperties() #345

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Conversation

macbre
Copy link
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