1
0
mirror of synced 2025-12-21 19:11:14 -05:00
Files
airbyte/airbyte-cdk/python/docs/tutorials/cdk-tutorial-python-http/1-creating-the-source.md
Abhi Vaidyanatha 4710e5836f Adding concepts docs, structure for CDK documentation (#3220)
* Adding concepts docs, structure for CDK documentation

* Add more context to the CDK README

Co-authored-by: Abhi Vaidyanatha <abhivaidyanatha@Abhis-MacBook-Pro.local>
2021-05-04 17:09:29 -07:00

1012 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.