dlt-hub / verified-sources

Contribute to dlt verified sources 🔥
https://dlthub.com/docs/walkthroughs/add-a-verified-source
Apache License 2.0
50 stars 40 forks source link

RESTClient: update the template for `dlt init` to use RESTClient #448

Closed burnash closed 1 month ago

burnash commented 2 months ago

Background

dlt init <source> <destination> initializes a new <source>. When <source> is not found in the verified-sources repo it uses one of the two templates:

Both of the templates above use dlt.sources.helpers.requests to make HTTP calls. The task is to convert both templates to use RESTClient instead of dlt.sources.helpers.requests.

rudolfix commented 2 months ago

@burnash this should be moved to verified sources repo once assigned, right?

burnash commented 1 month ago

TODO: Update the pipeline tutorial

sultaniman commented 1 month ago

@burnash I will use pokemon api to showcase pagination for --generic template