Quantcast
Channel: GSAK Forum
Viewing all 75101 articles
Browse latest View live

New geocaching api by sloth96 - 2019-04-12

$
0
0
QUOTE (rcorfman @ April 12, 2019 06:07 pm)
QUOTE (sloth96 @ April 12, 2019 01:50 pm)
QUOTE (rcorfman @ April 12, 2019 12:05 pm)
Also, it shouldn't matter whether the access token has expired or not when attempting to refresh it. That is, the refresh token may be used immediately after receiving it or months later.

Are you saying the behavior I am seeing is a bug?

The situation I think I am seeing is that the access token has expired, GSAK attempts to use it, and declares an error. Tthere is no attempt to perform a refresh even when the access token has expired.

The behavior you are seeing seems suspicious, so yes, I presume it is a bug or a deficiency that could use improvement. You had some misstatements in your description so I only meant to clarify how the token refresh works.

Thanks. I wasn't sure if you were saying what you saw or what you expected. And thank you for correcting my language on tokens.

The last time I looked at a token system was kerberos 15 years ago.

updating caches and logs by blackadders - 2019-04-12

$
0
0
Thank you one and all for again helping with this.

I wonder if there would be any expert macro writers out there who would be willing to write a macro to populate GSAK within a specified area with all caches available whilst filtering out all those already in the GSAK database.

As mentioned in my previous question, running a pocket querie on GC.com limits the number one can download.

If I can give an example, Attempting PQ's from the year 2000 on a yearly PQ or 1st Jan 2000 to 1st Jan 2001 to get all caches published during that time is great when there have been less that 1000 caches published.

In my position I did a PQ from Jan 1st 2005 to Jan 1st 2006 and found that there were over 1000 published. Reducing the date range from Jan 1st 2005 to Jan 10 of the same year It returns that there are still over 1000.

Therefore it seems that I may have to run a PQ for every day of January to get under the 1000 limit?


On another note, I have, as I type this, a GSAK "get caches" running as suggested by KAI team. The only difference that I had not noticed before was the "other" option in the first screen. Whether this is some automatic default when searching using the 2nd page I do not know.

I will wait and see what I get and how many of them are already in the database.

Again, a macro, if it is possible, to compare what is already in our own personal database against what is or has been published since the start of Geocaching.

So I am concentrating on the caches in South Australia, where we live and cache. On rare occasions we may travel to another state for a rare weekend away so it would be sensible to have another master database for that state.

Not knowing how many caches are in the state of New South Wales for example we would not now if the new 16000 limit would be suffice.

I await your expert thoughts,

Thanks again and kudos on the great work you guys do,

Paul

Publish Logs opens offscreen by Moose Mob - 2019-04-12

$
0
0
I had same issue as OP just now.
Alt+space just worked for me! Thanks!

updating caches and logs by The Jester - 2019-04-13

$
0
0
If you use the settings that Kai Team shows, and hit the "total #" button you'll find that there are 10,250 caches in South Australia that you haven't found.

By changing the Country and State settings you can find out the number of caches in any region. Such as, the number of caches in New South Wales is 17,976 (too many for a single day download). Clear the State, and you'll see there are 76,803 caches you haven't found in all of Australia.

Garmin Drive Assist Export by ian-and-penny - 2019-04-13

$
0
0
Macro Updated
#1.9 Added ability to export closest 1000 found caches to DB centre.

#1.9.2 Complete update of input form, & code to permit display attributes and child waypoint export.

Display attributes are:
  • Corrected
  • DNF
  • Favorites
  • Micro
  • Parking Available and
  • Travel Bug
Child waypoints are:
  • Final Location
  • Parking Area
  • Physical Stage
  • Question to Answer
  • Reference Point
  • Stage of Multicache
  • Trailhead
  • Virtual Stage
Comments and feedback in this thread please.

Garmin Drive Assist Export Support Thread. by ian-and-penny - 2019-04-13

$
0
0
Macro Updated.
#1.9 Added ability to export closest 1000 found caches to DB centre.

#1.9.2 Complete update of input form, & code to permit display attributes and child waypoint export.

Download the latest version from here.

Grid index out of range by PlasmaWave - 2019-04-13

$
0
0
QUOTE (clyde @ April 13, 2019 08:29 am)
This bug is truly weird! wacko.gif wacko.gif

I still don't fully understand the problem but I have now made some tweaks in the code that *seems* to fix the problem (and fixes the crash)

So please upgrade to build 125, cross your fingers, and see what happens. ph34r.gif

After updating to 125 I can confirm my 39 trackables load ok without GSAK crashing.

Thanks for the fix.

APIMaster problem by clickcraftsman - 2019-04-13

$
0
0
Thanks Clyde, that answers that problem.

I am working with APIMaster as I recode my macro to use it (replacing the traditional result text traverse).

I have come up against another strange one:

From the geocachelogs method I can get the geocacheLogType[id] field in the return string. But it does not appear in the APIMaster table, which I can see using SQLite Manager.

The following example accesses the logs of the current cache in your grid:

CODE
$result = GCAPI2("geocaches/$d_Code/geocachelogs?take=5&skip=0&fields=referenceCode,geocacheLogType[id],owner[membershipLevelId]", "Get", "", "Test" )

# $status = PutFile($_AppData + "\debug.txt","$Result")

# $_sql = "SELECT * FROM APIMaster" # WHERE geocacheLogTypeId IN ('2','11') AND OwnermembershipLevelId>'1'"

$_sql = "SELECT referenceCode, geocacheLogTypeId, OwnermembershipId FROM APIMaster"
$result = SQLite( "sql", $_sql, "Headings=Y" )
$html = SQLToHTML( $result,"APIMaster", "y")

Check ISO codes by HHL - 2019-04-13

$
0
0
This snippet shows a message with the ISO Codes of the current cache in grid.

user posted image

Hans

updating caches and logs by inspicio - 2019-04-13

$
0
0
QUOTE (blackadders @ April 13, 2019 10:00 am)

In my position I did a PQ from Jan 1st 2005 to Jan 1st 2006 and found that there were over 1000 published. Reducing the date range from Jan 1st 2005 to Jan 10 of the same year It returns that there are still over 1000.



At odd times I run around 85 PQ's for the whole of Australia and have found that even the most recent placed dates values are around 25 days apart before the 1000 limit is reached.

For South Australia and/or New South Wales the days apart should be much higher before the 1000 limit is reached.

It may be that when you changed the upper date to Jan 10 you didn't change the year to 2005 from 2006.

Macro Help (gcapi2) please. by ian-and-penny - 2019-04-13

$
0
0
I can do this manually, (update my ignore list with a filter of caches).

I've been blundering around over the last week or so,trying to write a macro that will do the same thing, but even using the API reference and code snippets from the GSAK forum is really confusing me . It seems that my un-guided learning curve is far too steep.

Would some kind person like to write a macro for me?



Macro Help (gcapi2) please. by Indrebø - 2019-04-13

Macro Help (gcapi2) please. by HHL - 2019-04-13

$
0
0
This is working here:
GSK
$data = gcapi2("lists/$ILcode/geocaches/","POST","$GCcode")


Actually I can't repeat a former success with that code. wacko.gif Sorry

Macro Help (gcapi2) please. by HHL - 2019-04-13

$
0
0
QUOTE (Indrebø @ April 13, 2019 09:31 am)
I guess you've already seen this macro:
[...]

AFAIK, that macro does work with the old API only.

Hans

Corrected Coordinates by schlemrk - 2019-04-13

$
0
0
Thanks, that was the right hint, now it's working.

Thanks a lot for your quick und perfect help.

Greetings

M.

Is there an 'offline' mode? by D68 - 2019-04-13

$
0
0
It used to be possible to draft logs etc while not being connected to the Internet. Although it's still possible, I have to suffer repeated alerts saying it can't fetch api token etc.
Surely it would make sense to be able to just not even attempt to connect.

BadgeGen_V4.0 feed back by RNKBerlin - 2019-04-13

$
0
0
QUOTE (taybee @ April 13, 2019 12:26 am)
@RNKBerlin can you please reload you profile on your server. button may not be working on the server

Thanks, Geoff. Everything works as it should now. Well done! Stats are uploaded again now.

Apparently, I must not visit any more countries in order to preserve the equilibrium of our statistics... wink.gif

As an aside, I have always found this odd: "20 points for finding caches in 15 states OR 5 countries." Personally, I would award points per country, and add a bonus for 25 or 50 or something. But that's just me.

Either way, "Bert Summary" appears to be a typo smile.gif

BadgeGen_V4.0 feed back by taybee - 2019-04-13

$
0
0
QUOTE (RNKBerlin @ April 13, 2019 11:19 pm)
QUOTE (taybee @ April 13, 2019 12:26 am)
@RNKBerlin can you please reload you profile on your server. button may not be working on the server

Thanks, Geoff. Everything works as it should now. Well done! Stats are uploaded again now.

Apparently, I must not visit any more countries in order to preserve the equilibrium of our statistics... wink.gif



Either way, "Bert Summary" appears to be a typo smile.gif

you only got another 145 countries to go.

see i did pick up the typo.

Macro Help (gcapi2) please. by ian-and-penny - 2019-04-13

Is there an 'offline' mode? by Kai Team - 2019-04-13

$
0
0
I assume you're talking about working within the Publish Logs dialog? You don't say and there is more than one way to draft logs in GSAK. I also assume you are taking actions that require use of the API, which in turn requires you to be online. One example would be clicking the "trackables" button to retrieve your trackable inventory. Another would be clicking the "Preview" button, which has to obtain certain information from your online profile to resolve some special tags.

Surely it would make sense to provide specific information if you want someone to respond to your comments.
Viewing all 75101 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>