Open maxestorr opened 3 months ago
I'm about to head out but can share the code I'm working with on my return, my wider project's context is I'm trying to ingest data from this API using dlt's generic API declarative config, as well as Airflow for orchestration, and ran into a number of issues (this being one of them) which has prevented me from achieving this.
Source name
rest_api
Describe the data you'd like to see
I am using the generic API source to write my data pipeline declaratively, ingesting data from the ebird historical observations endpoint.
As you can see in its documentation linked above it's possible to incrementally load data from this endpoint, but not using traditional query parameters such as
?data_from=2024-08-01
but rather using path parameters, where each day has it's own endpoint path such ashttps://servername.com/2/data/obs/{{region-code}}/{{year}}/{{month}}/{{day}}
.Currently the generic API source allows you to query data incrementally using query parameters, using a config defined as so:
But I believe there's no such config that'd work for path parameters.
Are you a dlt user?
Yes, I'm already a dlt user.
Do you ready to contribute this extension?
No.
dlt destination
duck db
Additional information
No response