Tim Faber
06/13/2023, 1:38 PMkapa.ai
06/13/2023, 1:38 PMkapa.ai
06/13/2023, 1:39 PMTim Faber
06/13/2023, 6:51 PMØrjan Dahlsveen
06/15/2023, 4:44 AMTim Faber
06/15/2023, 12:19 PMincremental_sync:
type: DatetimeBasedCursor
cursor_field: validfrom
datetime_format: '%Y-%m-%d'
end_time_option:
type: RequestOption
field_name: validfrom[strictly_before]=
inject_into: request_parameter
start_time_option:
type: RequestOption
field_name: validfrom[strictly_after]=
inject_into: request_parameter
cursor_granularity: "PT15M"
start_datetime:
type: MinMaxDatetime
datetime: '2023-06-11'
datetime_format: '%Y-%m-%d'
end_datetime:
type: MinMaxDatetime
datetime: '{{ now_utc().strftime(''%Y-%m-%d'') }}'
datetime_format: '%Y-%m-%d'
step: P2D
But it fails on the 2nd incremental load somehow and is also suffering from rate limiting it seems. The data is in 15 time windows but the url accepts only full dates. Using P2D guarantees that the end date is 1 full day after the start date (now 2 days in the past). I'm a bit oblivious no how aribyte handles the second sync