1
0
mirror of synced 2026-01-11 03:04:14 -05:00
Files
airbyte/docs/contributing-to-airbyte/python/tutorials/cdk-tutorial-python-http/1-creating-the-source.md
2021-05-16 22:51:02 +00:00

880 B

Step 1: Creating the Source

Airbyte provides a code generator which bootstraps the scaffolding for our connector.

$ cd airbyte-integrations/connector-templates/generator # assumes you are starting from the root of the Airbyte project.
# Install NPM from https://www.npmjs.com/get-npm if you don't have it
$ npm install
$ npm run generate

Select the Python HTTP API Source template and then input the name of your connector. For this walk-through we will refer to our source as python-http-example. The finalized source code for this tutorial can be found here.

The source we will build in this tutorial will pull data from the Rates API, a free and open API which documents historical exchange rates for fiat currencies.