Hiking Project Logo

maxResult is not working ?


Original Post
NT Hike · · Unknown Hometown · Joined Jan 2018 · Points: 0

I changed maxResult to 20 and it still returns 10 results. can someone please help ? 

Rachel Vecchitto · · Boulder, CO · Joined Nov 2011 · Points: 281

 Are you using maxResults (with an 's', vs maxResult)? For example, if you plug in your API key to this, this API call returns 20 results for me:

https://www.hikingproject.com/data/get-trails?maxResults=20&lat=40.0274&lon=-105.2519&maxDistance=10&key=[your_api_key]

NT Hike · · Unknown Hometown · Joined Jan 2018 · Points: 0

Hi Rachel, Thanks for getting back.
Never mind, it was an user error :(  maxResults works as expected :) 

Thank you for reaching out :) 


Guideline #1: Don't be a jerk.

Post a Reply to "maxResult is not working ? "
in the Hiking Project Feedback & Suggestions

Log In to Reply