AirbyteLoader instead.
Airbyte is a data integration platform for ELT pipelines from APIs, databases & files to warehouses & lakes. It has the largest catalog of ELT connectors to data warehouses and databases.This loader exposes the Stripe connector as a document loader, allowing you to load various Stripe objects as documents.
Installation
First, you need to install theairbyte-source-stripe python package.
Example
Check out the Airbyte documentation page for details about how to configure the reader. The JSON schema the config object should adhere to can be found on Github: https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-stripe/source_stripe/spec.yaml. The general shape looks like this:load returns a list, it will block until all documents are loaded. To have better control over this process, you can also use the lazy_load method which returns an iterator instead:
Incremental loads
Some streams allow incremental loading, this means the source keeps track of synced records and won’t load them again. This is useful for sources that have a high volume of data and are updated frequently. To take advantage of this, store thelast_state property of the loader and pass it in when creating the loader again. This will ensure that only new records are loaded.