1
0
mirror of synced 2025-12-31 06:05:12 -05:00
Files
airbyte/airbyte-integrations/connectors/source-weatherstack/source_weatherstack/spec.yaml
robgleason 7546450cfe 🎉 New Source: Weatherstack [python cdk] (#16473)
* Added Source Weatherstack

* Clean Code. Took out TODO's.

* Added link to get API key

* Remade check_connection and added Constants

* Added WeatherStack to source_definitions and updated Catalog.json

* deleted configured_catalog.json (not in use)

* Revert "deleted configured_catalog.json (not in use)"

This reverts commit 1b40726335.

* chore: revert change

* chore: format and lint

* chore: attempt to patch unit tests

* Added Classes for Unit tests

* chore: fix coverage

* chore: fix unit tests for weatherstream

* chore: fix weather stack unittests

* chore: fix unittests fr weatherstack

* Added schemas to catalogue

* Update setup.py

* Update build.gradle

* Delete sample_state.json

* support for various account types

* Update source.py

* Delete .dccache

* Update source_definitions.yaml

* Update source_specs.yaml

Co-authored-by: Vincent Koc <koconder@users.noreply.github.com>
Co-authored-by: Vincent Koc <koconder@gmail.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2022-11-10 12:38:22 -05:00

43 lines
1.4 KiB
YAML

documentationUrl: https://docs.airbyte.io/integrations/sources/weatherstack
connectionSpecification:
$schema: http://json-schema.org/draft-07/schema#
title: Weatherstack Spec
type: object
required:
- access_key
- query
- historical_date
properties:
is_paid_account:
order: 0
title: Is Paid Account
description: >-
Toggle if you're using a <a
href="https://weatherstack.com/product">Paid subscription</a>
type: boolean
default: false
access_key:
order: 1
type: string
description: API access key used to retrieve data from the Weatherstack API.(https://weatherstack.com/product)
airbyte_secret: true
query:
order: 2
type: string
description:
A location to query such as city, IP, latitudeLongitude, or zipcode.
Multiple locations with semicolon seperated if using a professional plan or higher.
For more info- (https://weatherstack.com/documentation#query_parameter)
examples:
- New York
- London
- "98101"
historical_date:
order: 3
type: string
description: This is required for enabling the Historical date API with format- (YYYY-MM-DD). * Note, only supported by paid accounts
examples:
- "2015-01-21"
default": "2000-01-01"
pattern: "[0-9]{4}-[0-9]{2}-[0-9]{2}"