Description Usage Arguments Value Note Author(s) Examples
Function provides a single function to query KaMU API and an cache implementation. It also defines the base URL scheme for the API. API resource parameters are provided a
1 | query_kamu_api(endpoint, query = NULL, cache = FALSE)
|
endpoint |
A character URL defining the queried endpoint. |
query |
list of query parameters. |
cache |
Sets the cache mode: |
httr response object (JSON parsed to a list).
All NULL values from JSON responses are replaced by NAs.
Currently response meta data is not used for anything.
Joona Lehtomaki <joona.lehtomaki@gmail.com>
1 2 3 4 5 6 7 | ## Not run:
# Example using members
members <- query_kamu_api("member")
# Change query limit (default = 20)
members <- query_kamu_api("member", query=list(limit=30))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.