airbyte-integrations/connectors/source-google-analytics-data-api/README.md
This is the repository for the Google-Analytics-Data-Api source connector, written in Python. For information about how to use this connector within Airbyte, see the documentation.
airbyte-ciairbyte-ci connectors --name=source-google-analytics-data-api build
An image will be available on your host with the tag airbyte/source-google-analytics-data-api:dev.
Then run any of the connector commands as follows:
docker run --rm airbyte/source-google-analytics-data-api:dev spec
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-google-analytics-data-api:dev check --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-google-analytics-data-api:dev discover --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-google-analytics-data-api:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
You can run our full test suite locally using airbyte-ci:
airbyte-ci connectors --name=source-google-analytics-data-api test
Customize acceptance-test-config.yml file to configure acceptance tests. See Connector Acceptance Tests for more information.
If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
airbyte-ci connectors --name=source-google-analytics-data-api testdockerImageTag value in in metadata.yamlversion value in pyproject.tomlmetadata.yaml content is up to date.docs/integrations/sources/google-analytics-data-api.md).