Skip to content

Commit

Permalink
Source Getlago: Support API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jdenquin committed Sep 19, 2023
1 parent 90375ee commit abbe5c4
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-getlago/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_getlago ./source_getlago
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.version=0.2.0
LABEL io.airbyte.name=airbyte/source-getlago
4 changes: 2 additions & 2 deletions airbyte-integrations/connectors/source-getlago/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Getlago Source
# Lago Source

This is the repository for the Getlago configuration based source connector.
This is the repository for the Lago configuration based source connector.
For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.io/integrations/sources/getlago).

## Local development
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data:
githubIssueLabel: source-getlago
icon: getlago.svg
license: MIT
name: GetLago
name: Lago
registries:
cloud:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ definitions:
extractor:
field_path: ["{{ parameters['name'] }}"]
requester:
url_base: "https://api.getlago.com/api/v1"
url_base: "{{ config['api_url'] }}"
http_method: "GET"
authenticator:
type: BearerAuthenticator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
documentationUrl: https://docs.airbyte.com/integrations/sources/getlago
connectionSpecification:
$schema: http://json-schema.org/draft-07/schema#
title: Getlago Spec
title: Lago Spec
type: object
required:
- api_url
- api_key
additionalProperties: true
properties:
api_url:
title: API Url
type: string
description: Your Lago API URL
default: https://api.getlago.com/api/v1
api_key:
title: API Key
type: string
Expand Down
8 changes: 4 additions & 4 deletions docs/integrations/sources/getlago.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# getLago API
# Lago API

## Sync overview

This source can sync data from the [getLago API](https://doc.getlago.com/docs/guide/intro/welcome). At present this connector only supports full refresh syncs meaning that each time you use the connector it will sync all available records from scratch. Please use cautiously if you expect your API to have a lot of records.
This source can sync data from the [Lago API](https://doc.getlago.com/docs/guide/intro/welcome). At present this connector only supports full refresh syncs meaning that each time you use the connector it will sync all available records from scratch. Please use cautiously if you expect your API to have a lot of records.

## This Source Supports the Following Streams

Expand All @@ -25,8 +25,8 @@ This source can sync data from the [getLago API](https://doc.getlago.com/docs/gu
## Getting started

### Requirements

* getLago API KEY
* Lago API URL
* Lago API KEY

## Changelog

Expand Down

0 comments on commit abbe5c4

Please sign in to comment.