https://github.com/singer-io/tap-wootric
https://github.com/singer-io/tap-wootric
singer tap
Last synced: about 8 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/singer-io/tap-wootric
- Owner: singer-io
- License: agpl-3.0
- Created: 2017-02-12T03:17:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-03T10:23:59.000Z (8 months ago)
- Last Synced: 2025-04-05T02:06:04.696Z (23 days ago)
- Topics: singer, tap
- Language: Python
- Size: 42 KB
- Stars: 2
- Watchers: 12
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tap-wootric
A [Singer](https://singer.io) tap for extracting data from the Wootric
API.## Limitations
### Creation Date Clustering
The Wootric API limits results to 50 per request and only allows
sorting by created_at. For instances where more than 50 records have
an identical created_at date and time, it is therefore impossible to
access certain data points. In this case, the bookmark is incremented
by one second and replication continues in order to avoid a crash or
infinite loop.### Record Updates
The Wootric API does not allow you to order results by updated_at or
filter based on updated_at date. As a result, there is no way to
incrementally upsert updated records. To capture any changes in
records that have been previously updated, conduct a full replication.## Install
Clone this repository, and then:
```bash
› python setup.py install
```## Run
#### Run the application
```bash
tap-wootric -c config.json -s state.json
```
Where `config.json` contains the following, retrieved from the API
section of your Wootric account settings page:```json
{
"client_id": "a64characterstring...",
"client_secret": "another64characterstring..."
}
```and `state.json` is a file containing only the value of the last state
message.---
Copyright © 2017 Stitch