1
0
mirror of synced 2025-12-19 18:14:56 -05:00
Files
airbyte/docs/connector-development/tutorials/cdk-tutorial-python-http/1-creating-the-source.md
Abhi Vaidyanatha 3765bcf3b8 Refactor docs to improve clarity around connector development. (#5037)
* Refactor docs to improve clarity around connector development.

* Merge architecture and setup of source acceptance tests to reference

* Address reviewsa

* Address review comments

Co-authored-by: Abhi Vaidyanatha <abhivaidyanatha@Abhis-MacBook-Pro.local>
2021-07-28 14:00:08 -07:00

871 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
$ ./generate.sh

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.