code: def get_listing_calendar(self, listing_id, starting_date=datetime.datetime.now(), calendar_months=6):
          
          params = {
              '_format': 'host_calendar_detailed'
          }
  
          starting_date_str = starting_date.strftime("%Y-%m-%d")
          ending_date_str = (
              starting_date + datetime.timedelta(days=30)).strftime("%Y-%m-%d")
  
          r = self._session.get(API_URL + "/calendars/{}/{}/{}".format(
              str(listing_id), starting_date_str, ending_date_str), params=params)
          r.raise_for_status()
  
          return r.json()
docs: Get host availability calendar for a given listing