OKAPI-Frage

Hier geht es um die Programmierung von Opencaching.de - User mit Erfahrungen im Bereich PHP, MySQL, HTML, JavaScript, CSS werden hier ständig gesucht
Antworten
Benutzeravatar
mic@
Vereinsmitglied
Vereinsmitglied
Beiträge: 6659
Registriert: 04.12.2009, 00:31

Hallo zusammmen,
ich habe eine Frage zur OKAPI:
https://www.opencaching.de/okapi/introduction.html

Für die Suche nach Caches gibt es ja diese Methode:

Search for geocaches
:: services/caches/search/all method
https://www.opencaching.de/okapi/servic ... h/all.html

Dort kann man ja z.B. die Ergebnisse nach Schwierigkeit (1-5) filtern.
Aber gibt es auch die Möglichkeit, die Ergebnisse nach Attributen (z.B. Safari-Cache) zu filtern?
Fragende Grüße, Mic@
Benutzeravatar
Ginger42
Vereinsmitglied
Vereinsmitglied
Beiträge: 45
Registriert: 12.04.2019, 18:19

Da steht nach welchen Typen man kann:

type - cache type, one of the type codes that are included in the types field of services/caches/capabilities. Currently there are eight types which are in use at all OKAPI installations:

Traditional,
Multi,
Quiz, also known as "Mystery",
Moving, a geocache with changing coordinates,
Virtual,
Webcam,
Other, also dubbed "unknown type"; allows OC users to create special caches which don't fit into the scheme of well-known types,
Event, a peculiar type of geocache which is NOT a geocache at all, but it is stored as a geocache in OC database. Just keep in mind, that in case of Event Caches, some fields may have a little different meaning than you would tell by their name.
(Types may be added or removed. Your application MUST be prepared for any new types and may handle them as "Other".)
More types are in use at some installations:

Own, a moving geocache which is carried by the owner,
Podcast, a geocache with attached MP3 file(s). The MP3 data is not accessible via OKAPI. This type is only in use at Opencaching.US.
(Types may be added or removed. Your application MUST be prepared for any new types and may handle them as "Other".)

https://www.opencaching.de/okapi/servic ... h/all.html
Antworten