httrGetJSON | R Documentation |
httrGetJSON Retrieve responses in JSON format using httr::GET. It is a generic function to use for request these Wikimedia metrics API: https://wikimedia.org/api/rest_v1/ https://www.mediawiki.org/wiki/XTools/API/Page (xtools.wmflabs.org)
httrGetJSON(url)
url |
The URL with the query to the API. |
A JSON response. Please check httr::stop_for_status(response)
Used in m_Pageviews
Angel Zazo, Department of Computer Science and Automatics, University of Salamanca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.