Google calendar api

Google calendar api

Hello,

I am using Google calendar on my website and it is working fine.

In this URL I included "max-results=10" which displays a maximum of 10 events on my website.


Now I like to add "max 10 days from today" to it so it will not display events after 10 days.

  1.  $.getJSON('http://www.google.com/calendar/feeds/' + 'mycalendar@gmail.com/' + 'public/full?' + 'orderby=starttime&' + 'sortorder=ascending&' + 'futureevents=true&' + 'max-results=10&' + 'singleevents=true&' + 'alt=json',

Is this possible to add something to this url and if yes how?

Thank you