Introduction
Sign up
Examples
Changelog
ver. 1958 (4e4db56) services/apiref services/apisrv services/attrs services/caches services/caches/formatters services/caches/map services/caches/search services/caches/shortcuts services/logs services/logs/images services/oauth services/replicate services/users |
Retrieve data on multiple attributes at once
|
|
||||
https://www.opencaching.us/okapi/services/attrs/attributes | ||||
This method works like the attribute method, but with multiple A-codes instead of only one. Read the docs for the attribute method first! |
||||
acodes | required | Pipe-separated list of A-codes you're interested in. | ||
langpref | optional |
Default value: en Works the same as in the attribute method. |
||
fields | optional |
Default value: name Works the same as in the attribute method. |
||
forward_compatible | optional |
Default value: true This has a similar meaning as in the attribute method, but works differently. If set to false, OKAPI will return nulls for unknown keys (A-codes). You will still receive an HTTP 200 response though! |
||
format | optional | Standard common formatting argument. | ||
callback | optional | Standard common formatting argument. | ||
Plus required consumer_key argument, assigned for your application. | ||||
Returned value: A dictionary. A-codes you provide will be mapped to dictionary keys, and each value will be an object, as described in the attribute method. |