Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75687

GcApi() by TheWinterTrio - 2013-07-30

$
0
0
Have the API limits recently changed, or am I just not understanding them properly?

I am doing a API call to get Cache information and I keep running into "The number of calls allowed for this Method has been exceeded"

I have put in a counter and timer so that after 30 calls it waits 60 seconds before doing another 30 calls. I then changed it to 29 and 65 and I still get the message...

CODE
$GrabCacheData = Replace("{CODE}",$CacheCode,$GrabCacheData)
$data = GcApi("SearchForGeocaches",$GrabCacheData)

<Data> Varname=$GrabCacheData
 <SearchForGeocachesRequest xmlns="http://www.geocaching.com/Geocaching.Live/data">
   <AccessToken>{ACCESSTOKEN}</AccessToken>
   <IsLite>true</IsLite>
   <MaxPerPage>10</MaxPerPage>
   <CacheCode>
     <CacheCodes xmlns="http://schemas.datacontract.org/2004/07/Tucson.Geocaching.WCF.API.Geocaching.Types">
       <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">{CODE}</string>
     </CacheCodes>
   </CacheCode>
 </SearchForGeocachesRequest>
<enddata>


Is there a different API call I should be using to just grab the info for one cache. All I really need (at the moment) is the OwnerID, Name and Type

Thanks.

-TWT

Viewing all articles
Browse latest Browse all 75687

Trending Articles



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