app/lib/cachecache/geocaching.rb
# Searches for more geocaches based on the last invocation of
# _search_init.
#
# @param accessToken [String] The access token for the Geocaching.com API
# @param startIndex [int] The offset for the search.
Searches for more geocaches based on the last invocation of
_search_init.
Searches for more geocaches based on the last invocation of _search_init .
def _search_more(accessToken, startIndex)
            req = {
                'AccessToken' => accessToken,
                'IsLite' => true,
                'StartIndex' => startIndex,
                'MaxPerPage' => MAX_PER_PAGE,
                'GeocacheLogCount' => 5,
                'TrackableLogCount' => 0,
            }
            data = _post('/LiveV6IAP/Geocaching.svc/GetMoreGeocaches', req)
            _check_result(data)
            _log_limit('lite', data)
            return data['Geocaches']
        end
def _search_more ( accessToken , startIndex ) req = { 'AccessToken' => accessToken , 'IsLite' => true , 'StartIndex' => startIndex , 'MaxPerPage' => MAX_PER_PAGE , 'GeocacheLogCount' => 5 , 'TrackableLogCount' => 0 , } data = _post ( '/LiveV6IAP/Geocaching.svc/GetMoreGeocaches' , req ) _check_result ( data ) _log_limit ( 'lite' , data ) return data [ 'Geocaches' ] end
Searches for more geocaches based on the last invocation of
_search_init.
Searches for more geocaches based on the last invocation of _search_init .
accessToken
The access token for the Geocaching.com API
The access token for the Geocaching . com API
startIndex
The offset for the search.
The offset for the search .