airbyte-integrations/connectors/source-employment-hero/README.md
This directory contains the manifest-only connector for source-employment-hero.
Visit https://developer.employmenthero.com/api-references/#icon-book-open-introduction for API documentation
Employement Hero uses Bearer token authentication, since code granted OAuth is not directly supported right now, Visit your developer profile for getting your OAuth keys. Refer https://secure.employmenthero.com/app/v2/organisations/xxxxx/developer_portal/api for more details.
You can make a POST request from Postman to exchange your OAuth credentials for an access token to make requests.
First make an app to get the client ID and secret for authentication:
https://secure.employmenthero.com/app/v2/organisations/xxxxx/developer_portal/api, select Add Application and input an app name. Select the scopes and set the redirect URI as https://oauth.pstmn.io/v1/callback.https://oauth.employmenthero.com/oauth2/authorizehttps://oauth.employmenthero.com/oauth2/tokenHit Get new Access token and approve via browser, Postman will collect a new access_token in the console response.
There are multiple ways to use this connector:
pyairbyte using get_source!Please refer to the manifest-only connector documentation for more details.
We recommend you use the Connector Builder to edit this connector.
But, if you want to develop this connector locally, you can use the following steps.
You will need airbyte-ci installed. You can find the documentation here.
This will create a dev image (source-employment-hero:dev) that you can use to test the connector locally.
airbyte-ci connectors --name=source-employment-hero build
This will run the acceptance tests for the connector.
airbyte-ci connectors --name=source-employment-hero test