+sloth96 Posted November 3, 2021 Share Posted November 3, 2021 For some users, it appears there is a discrepancy between the geocaching.com website and the API on the number of souvenir a user has. A quick example suggests that the issue is with the website and not the API. As an example case, Der_Holzmichel has 384 souvenirs on geocaching.com but 399 through the API. The user's profile shows 384 at this link. https://www.geocaching.com/p/default.aspx?guid=6edc0ca4-c502-40db-a5a0-c2b1f37aacbf&tab=souvenirs#profilepanel To easily see the API results the project-gc profile stats are the easiest. https://project-gc.com/Profile/ProfileStats?profile_name=Der_Holzmichel&getprofile=Get+profile#Souvenirs However an API call to /v1.0/users/PR5H3WD/souvenirs gives a total count of 399 as well. The reason for suspecting the website is that the website does not return the Bayern souvenir for the user but project-gc has it. It appears the user's first cache is in Bayern and earned the souvenir. Project-gc shows the user has earned that souvenir. This is being reported as a bug under the theory of if there are two different answers, one of them is wrong. On a more speculative basis, it appears that the website may miss souvenirs with "late" logs. However this has not been confirmed. Quote Link to comment
+Max and 99 Posted November 3, 2021 Share Posted November 3, 2021 25 minutes ago, sloth96 said: For some users, it appears there is a discrepancy between the geocaching.com website and the API on the number of souvenir a user has. A quick example suggests that the issue is with the website and not the API. As an example case, Der_Holzmichel has 384 souvenirs on geocaching.com but 399 through the API. The user's profile shows 384 at this link. https://www.geocaching.com/p/default.aspx?guid=6edc0ca4-c502-40db-a5a0-c2b1f37aacbf&tab=souvenirs#profilepanel To easily see the API results the project-gc profile stats are the easiest. https://project-gc.com/Profile/ProfileStats?profile_name=Der_Holzmichel&getprofile=Get+profile#Souvenirs However an API call to /v1.0/users/PR5H3WD/souvenirs gives a total count of 399 as well. The reason for suspecting the website is that the website does not return the Bayern souvenir for the user but project-gc has it. It appears the user's first cache is in Bayern and earned the souvenir. Project-gc shows the user has earned that souvenir. This is being reported as a bug under the theory of if there are two different answers, one of them is wrong. On a more speculative basis, it appears that the website may miss souvenirs with "late" logs. However this has not been confirmed. Is he hiding any of them, therefore you can't see them? Just a guess. 1 Quote Link to comment
+Twinklekitkat Posted November 3, 2021 Share Posted November 3, 2021 4 hours ago, Max and 99 said: Is he hiding any of them, therefore you can't see them? Just a guess. I agree with this. If they are hidden by the user someone viewing their profile will only see the number that are shown. I had a discrepancy myself of 1 where PGC showed 1 more than I was seeing on my public profile. When I went to my souvenirs from my dashboard (on the right side menu) I found the one that was hidden. Once I chose to show it all the numbers lined back up. 1 Quote Link to comment
+cerberus1 Posted November 3, 2021 Share Posted November 3, 2021 5 hours ago, sloth96 said: As an example case... Agree with both. Seems logical. People who, for some odd reason, are interested in our stats is why I don't "hide" our souvenirs (or remove our stats page). Quote Link to comment
Moun10Bike Posted November 3, 2021 Share Posted November 3, 2021 That account has 399 souvenirs and 15 set to not display. 1 3 Quote Link to comment
+sloth96 Posted November 3, 2021 Author Share Posted November 3, 2021 Thank you all. I never even noticed that option was available. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.