API for Opencaching-Network

59 views
Skip to first unread message

Hanekju

unread,
Sep 2, 2012, 12:03:17 PM9/2/12
to geo...@googlegroups.com
Hi,
is it possible to get Cache-Data from Opencaching.de(/pl/nl etc) via the APi (OKAPI) and not via GPX-File?

Geby

unread,
Sep 4, 2012, 4:48:01 AM9/4/12
to geo...@googlegroups.com
is it possible to get Cache-Data from Opencaching.de(/pl/nl etc) via the APi (OKAPI) and not via GPX-File?

Geoget does not know OKAPI, just because I never heard about it before.

Geoget scripts can do GET/POST requests by HTTP or HTTPS protocol. Scripts can import data too. Maybe is possible to create some plugin script for this task.

Hanekju

unread,
Sep 5, 2012, 3:27:40 PM9/5/12
to geo...@googlegroups.com
Take a look at http://code.google.com/p/opencaching-api/ . I think you will find everything you could need. OKAPI alredy works with Opencaching Poland, United Kingdom, United States and Netherland. Other Nodes are going to follow.

Geby

unread,
Sep 13, 2012, 10:06:00 AM9/13/12
to geo...@googlegroups.com
Ok, noted.

What OKAPI functionality you see as mandatory?

Hanekju

unread,
Sep 25, 2012, 3:31:14 AM9/25/12
to geo...@googlegroups.com

OK, I'll try it again:
I've got no idea. I'm just looking for a comfortable possibility to import my saved searches...

Hanekju

unread,
Nov 20, 2012, 5:59:30 AM11/20/12
to geo...@googlegroups.com
I am looking for something like this: GSAK-OC.zip. Unfortunately it is for GSAK.

Geby

unread,
Nov 21, 2012, 9:00:07 AM11/21/12
to geo...@googlegroups.com


Dne úterý, 20. listopadu 2012 11:59:30 UTC+1 Hanekju napsal(a):
I am looking for something like this: GSAK-OC.zip. Unfortunately it is for GSAK.

It seems to be easy. I try to create similar script for Geoget too.

Geby

unread,
Nov 22, 2012, 4:26:04 AM11/22/12
to geo...@googlegroups.com

Your GSAK sample is designed for opencaching.de and using their own API. It is not OKAPI!

You wish to get queries form the opencaching.de, or you wish to do similar task for any OKAPI enabled web?

Hanekju

unread,
Nov 22, 2012, 6:05:51 AM11/22/12
to geo...@googlegroups.com
Oh sorry, I thought the sample is allready using the OKAPI. I am not using GSAK, because I do not want to wait more than two minutes until I can use the programme. Originally I asked for OKAPI. Sorry, this was a fault by myself.

Hanekju

unread,
Nov 23, 2012, 6:07:10 AM11/23/12
to geo...@googlegroups.com
I wish someting similar from any OKAPI enabled web.


Am Donnerstag, 22. November 2012 10:26:05 UTC+1 schrieb Geby:
 

Hanekju

unread,
May 6, 2013, 6:34:46 PM5/6/13
to geo...@googlegroups.com
OKAPI is since a few weeks at opencaching.de enabled.

It is possible to get a consumer_key at http://www.opencaching.de/okapi/signup.html

It is possible to get a UUID at http://www.opencaching.de/okapi/services/users/by_username?username=<Username>&fields=uuid&consumer_key=<consumer_key>

It is possible to get a GPX-File at http://www.opencaching.de/okapi/services/caches/shortcuts/search_and_retrieve?search_method=services/caches/search/nearest&search_params={"center":"52.866667|7.316667","not_found_by":"<UUID>","limit":"500"}&retr_method=services/caches/formatters/gpx&retr_params={"langpref":"de","ns_ox":"true","images":"descrefs:thumblinks","attrs":"desc:text","latest_logs":"true","ns_ground":"true","alt_wpts":"true","ns_gsak":"true"}&wrap=false&consumer_key=<consumer_key>

It is possible to get a GPX-File with Spoilers at http://www.opencaching.de/okapi/services/caches/shortcuts/search_and_retrieve?search_method=services/caches/search/nearest&search_params={"center":"52.866667|7.316667","not_found_by":"<UUID>","limit":"50"}&retr_method=services/caches/formatters/garmin&retr_params={"images":"all"}&wrap=false&consumer_key=<consumer_key>

BTW: I have replaced some personal values with <consumer_key>, <Username> and <UUID>.

best regards

Jürgen

Hanekju

unread,
Jul 22, 2013, 5:16:36 PM7/22/13
to geo...@googlegroups.com
Hello,

there are two GSAK-Macros for OKAPI published:

It would be great to have something similar (or better) for geoget. :-)

Unfortunately I am still not able to write scripts :-(

Jürgen

Reply all
Reply to author
Forward
0 new messages