Removal of GSAK Macro Link

Discussion about the Geocaching Australia web site
Post Reply
User avatar
caughtatwork
Posts: 16123
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Removal of GSAK Macro Link

Post by caughtatwork » 08 July 19 2:12 pm

Effectively immediately the API that is called via the GSAK macro will be deprecated.

We will be removing this functionality from Geocaching Australia immediately.

If you have a GSAK Macro that gets 200 geocaches in a GPX file via the public_gsak_gpx_by_comma_separated call then effectively immediately you should seek to replace that macro with another method.

We apologise for the inconvenience, but as far as we can tell this only affects one user (they will be advised) and the technical debt associated with this code is too high for our developers to maintain.

User avatar
mtrax
Posts: 1947
Joined: 19 December 06 9:57 am
Location: Weston Creek, Canberra

Re: Removal of GSAK Macro Link

Post by mtrax » 10 July 19 10:41 pm

Is there another method?

User avatar
caughtatwork
Posts: 16123
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Re: Removal of GSAK Macro Link

Post by caughtatwork » 11 July 19 8:43 am

You can call the API to get a query and caches or the API to get the geocaches by a list.
https://geocaching.com.au/api/services/ ... aches.html
https://geocaching.com.au/api/services/ ... aches.html
They will both be in JSON format as that's what the API provides.
We have no method to provide a GPX file by a list of geocache ID's as the API is JSON based and I don't want to mix them up.

User avatar
mtrax
Posts: 1947
Joined: 19 December 06 9:57 am
Location: Weston Creek, Canberra

Re: Removal of GSAK Macro Link

Post by mtrax » 11 July 19 9:40 am

As far as I know GSAK doesn't handle JSON so these are not an option.

User avatar
caughtatwork
Posts: 16123
Joined: 17 May 04 12:11 pm
Location: Melbourne
Contact:

Re: Removal of GSAK Macro Link

Post by caughtatwork » 11 July 19 9:59 am

GSAK does "something" with JSON although it may be a custom handler.

You can get a list of queries that belong to the signed in geocacher.
https://geocaching.com.au/my/query/list.json
I think that's part of your macro so you must know how GSAK handles JSON parsing.
You can then get a GPX file based on the query you select (which is passed as a GPX file).

I also assume that GC don't provide a GPX file when you call their API (although I really don't know) for a list of geocaches, so there must be "something" that handles it.

Simpy put the function was technical debt (too much time and effort to update vs. the use of the function). It get's used "maybe" once a week and by very few people.
Image
The Morris 29/06/2019 14:59
19/06/2019 20:20
The Morris 12/06/2019 20:18
The Morris 5/06/2019 17:45
The Morris 29/05/2019 20:53
The Morris 25/05/2019 8:25
The Morris 15/05/2019 17:52
The Morris 8/05/2019 18:38
firesafe 6/05/2019 7:29
The Morris 1/05/2019 18:01
The Morris 24/04/2019 20:35
bucketeer 23/04/2019 22:34
bucketeer 23/04/2019 22:33
bucketeer 23/04/2019 22:32
bucketeer 23/04/2019 22:31
bucketeer 23/04/2019 22:31
bucketeer 23/04/2019 22:30
bucketeer 23/04/2019 22:30
bucketeer 23/04/2019 22:30
bucketeer 23/04/2019 22:27
bucketeer 23/04/2019 22:25
bucketeer 23/04/2019 22:25
bucketeer 23/04/2019 22:23
Deepwater Octopus 23/04/2019 21:47
The Morris 10/04/2019 22:34
The Morris 27/03/2019 19:18
The Morris 20/03/2019 19:52
The Morris 13/03/2019 22:05
The Morris 6/03/2019 20:06
The Morris 27/02/2019 17:51
The Morris 20/02/2019 19:46
The Morris 13/02/2019 20:17
The Morris 6/02/2019 19:23
The Morris 30/01/2019 19:36
The Morris 25/01/2019 12:42
The Morris 16/01/2019 21:45
Throsbyonchurch 7/01/2019 0:20
Throsbyonchurch 7/01/2019 0:08
Throsbyonchurch 6/01/2019 23:59
The Morris 3/01/2019 17:16
The Morris 21/12/2018 22:21
The Morris 21/12/2018 21:56
The Morris 13/12/2018 17:34
The Morris 5/12/2018 20:40
The Morris 21/11/2018 20:31
The Morris 14/11/2018 18:30
The Morris 7/11/2018 19:03
The Morris 1/11/2018 10:58
The Morris 24/10/2018 21:13
The Morris 10/10/2018 20:10
The Morris 10/10/2018 19:16
The Morris 3/10/2018 17:45
The Morris 26/09/2018 19:16
The Morris 21/09/2018 20:35
CraigRat 14/09/2018 16:57
CraigRat 14/09/2018 16:57
The Morris 13/09/2018 21:02
The Morris 5/09/2018 18:46
The Morris 29/08/2018 15:39
Deepwater Octopus 29/08/2018 9:22
Deepwater Octopus 29/08/2018 9:22
The Morris 25/08/2018 22:16
mtrax 25/08/2018 20:12
The Morris 8/08/2018 20:25
CraigRat 5/08/2018 10:54
The Morris 1/08/2018 20:02
The Morris 25/07/2018 14:01
Deepwater Octopus 24/07/2018 14:10
Deepwater Octopus 24/07/2018 14:01
The Morris 18/07/2018 9:19
Deepwater Octopus 17/07/2018 22:54
Deepwater Octopus 17/07/2018 22:51
CraigRat 17/07/2018 9:34
The Morris 11/07/2018 22:35

Post Reply