This component extract data from the Toast API.
following endpoints are supported:
- restaurant configuration
- orders
Provide the URL, Client ID, and Client Secret to connect to your account.
You can choose to load all restaurants in management group or just a specific one.
You can select which endpoints you want to download.
Specify the date range for the orders you want to download.
Load Type: You can choose whether the output tables in the bucket should be incrementally loaded or if the entire table should be replaced.
List of tables, foreign keys, schema.
If required, change local data folder (the CUSTOM_FOLDER
placeholder) path to
your custom path in the docker-compose.yml
file:
volumes:
- ./:/code
- ./CUSTOM_FOLDER:/data
Clone this repository, init the workspace and run the component with following command:
git clone https://github.com/keboola/component-toast component-toast
cd component-toast
docker-compose build
docker-compose run --rm dev
Run the test suite and lint check using this command:
docker-compose run --rm test
For information about deployment and integration with KBC, please refer to the deployment section of developers documentation