1
0
mirror of synced 2026-02-02 07:01:59 -05:00
Files
airbyte/airbyte-integrations/connectors/source-coin-api/source_coin_api/source.py
Isaac Harris-Holt 13b4a26a5d 🎉 New Source: Coin API (#18302)
* Initial commit

* Add streams

* Correct acceptance test config

* Make secret

* Update docsurl

* Remove catalog.json

* Add second stream

* Add default to spec

* Change to start_date and end_date

* Add links to CoinAPI docs in spec

* Change to start_date and end_date

* Add docs

* add coin api to source seed file

* remove icon

* generate source spec for coin api

Co-authored-by: Vincent Koc <koconder@users.noreply.github.com>
Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
2022-10-27 19:08:41 -03:00

19 lines
476 B
Python

#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
from airbyte_cdk.sources.declarative.yaml_declarative_source import YamlDeclarativeSource
"""
This file provides the necessary constructs to interpret a provided declarative YAML configuration file into
source connector.
WARNING: Do not modify this file.
"""
# Declarative Source
class SourceCoinApi(YamlDeclarativeSource):
def __init__(self):
super().__init__(**{"path_to_yaml": "coin_api.yaml"})