You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #22 is implemented. Each cache page request at Geocaching.com will result in 3 requests to Project-GC.com (for subscribers), Get cachedata, get VGPS, get news/messages.
We could keep the old methods, but also make a new method that returns data from all three at once.
This of course needs server side changes.
The text was updated successfully, but these errors were encountered:
Currently two methods are called when loading a cache page.
GetMyUsername
GetCacheDataFromGccode
The future solution should be to call a method called GetData. This method will accept a json like the following.
{"GetUserData": true, "GetCacheDataFromGccode": "GC12345"}, "UpdateCacheInfo": {"lastUpdated": datetime, "lastFound": datetime}, "GetExistingVGPSLists": "GC12345"}
GetUserData is a replacement of GetMyUsername and includes membership data, unread news and unread PMs (#22).
Allowed arguments can easily be extented with for example GetSettings (#27) and GetFriends (#34).
After #22 is implemented. Each cache page request at Geocaching.com will result in 3 requests to Project-GC.com (for subscribers), Get cachedata, get VGPS, get news/messages.
We could keep the old methods, but also make a new method that returns data from all three at once.
This of course needs server side changes.
The text was updated successfully, but these errors were encountered: