Author: Jacob Werderits (jacob@fishtownanalytics.com)
This is a Singer tap that produces JSON-formatted data following the Singer spec.
It:
- Generates a catalog of available data in MindBody using the V6.0 Public Api
- Extracts the following resources:
git clone git@github.com:fishtown-analytics/tap-mind-body.git
cd tap-mind-body
pip install .
To develop and integrate an application using the MINDBODY Public API, you’ll need to do the following:
- Create a MINDBODY developer account.
- Write your application, using the MINDBODY sandbox for development and testing.
- Request approval from MINDBODY to take your application live.
- Request a site-specific activation code or an activation link for a specific business owner’s MINDBODY account so that your application can access the owner’s business data.
- Send the activation code or the activation link to the business owner to activate. You’ll need to follow these processes in the order given.
There is a template you can use at config.json.example
, just copy it to config.json
in the repo root and insert your tokens.
To get the Authorization token, you can use the issue endpoint to pass User Credentials.
Note: For all endpoints, user credentials may alter the returned data based on the creator of the passed token.
tap-mind-body -c config.json --discover > catalog.json
Step 4 generates a a file called catalog.json
that specifies all the available endpoints and fields. You'll need to open the file and select the ones you'd like to replicate. See the Singer guide on Catalog Format for more information on how tables are selected.
tap-mind-body -c config.json --catalog catalog.json
Copyright © 2019 Fishtown Analytics