airbyte-custom-connector/source-simplecast-fecther
Alexis Pentori e34407cffb
simplecast: fix schema
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-04-22 14:41:25 +02:00
..
sample_files simplecat: adding new endpoint and pagination 2024-04-17 12:09:01 +02:00
source_simplecast_fecther simplecast: fix schema 2024-04-22 14:41:25 +02:00
Dockerfile simplecast-connector: init connector 2024-03-07 18:13:41 +01:00
README.md simplecast-connector: adding analytic/technology subendpoint 2024-03-14 12:30:42 +01:00
main.py simplecast-connector: init connector 2024-03-07 18:13:41 +01:00
metadata.yaml simplecast: fix schema 2024-04-22 14:41:25 +02:00
requirements.txt simplecast-connector: init connector 2024-03-07 18:13:41 +01:00
setup.py simplecast-connector: init connector 2024-03-07 18:13:41 +01:00
simplecast-fetcher.svg simplecast-connector: init connector 2024-03-07 18:13:41 +01:00

README.md

SimpleCast Fetcher Source

This is the repository for fetching SimpleCast data, written in Python.

Usage

The connector fetch the list of podcasts, episodes and analytics metrics from SimpleCast.

Configuration

The connector takes the following input:

- api_key

Output

The connector will return the following objects:

Local development

Prerequisites

Activate Virtual Environment and install dependencies

From this connector directory, create a virtual environment:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Locally running the connector

python main.py spec
python main.py check --config sample_files/config-example.json
python main.py discover --config sample_files/config-example.json
python main.py read --config sample_files/config-example.json --catalog sample_files/configured_catalog.json

Locally running the connector docker image

docker build -t airbyte/twitter-fetcher:dev .
# Running the spec command against your patched connector
docker run airbyte/twitter-fetcher:dev spec

Run

Then run any of the connector commands as follows:

docker run --rm airbyte/twitter-fetcher:dev spec
docker run --rm -v $(pwd)/sample_files:/sample_files airbyte/twitter-fetcher:dev check --config /sample_files/config-example.json
docker run --rm -v $(pwd)/sample_files:/sample_files airbyte/twitter-fetcher:dev discover --config /sample_files/config-example.json
docker run --rm -v $(pwd)/sample_files:/sample_files -v $(pwd)/sample_files:/sample_files airbyte/twitter-fetcher:dev read --config /sample_files/config-example.json --catalog /sample_files/configured_catalog.json