target-lightspeed
is a Singer target for Lightspeed.
A full list of supported settings and capabilities for this target is available by running:
target-lightspeed --about
This Singer target will automatically import any environment variables within the working directory's
.env
if the --config=ENV
is provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the .env
file.
This Singer tap will automatically import any environment variables within the working directory's
.env
if the --config=ENV
is provided, such that config values will be considered if a matching
environment variable is set either in the terminal context or in the .env
file.
base_url: It can be either "https://api.webshopapp.com" or "https://api.shoplightspeed.com" depending on how your store was set.
language: The language available for your store or the language that the store was configured to use.
Sample config:
{
"base_url": "https://api.webshopapp.com",
"language": "nl",
"api_key": "my_api_key",
"api_secret": "my_api_secret"
}
You can easily run target-lightspeed
by itself or in a pipeline using.
target-lightspeed --version
target-lightspeed --help
# Test using the "Carbon Intensity" sample:
tap-carbon-intensity | target-lightspeed --config /path/to/target-lightspeed-config.json
Follow these instructions to contribute to this project.
pipx install poetry
poetry install
Create tests within the tests
subfolder and
then run:
poetry run pytest
You can also test the target-lightspeed
CLI interface directly using poetry run
:
poetry run target-lightspeed --help
See the dev guide for more instructions on how to use the Meltano Singer SDK to develop your own Singer taps and targets.