Skip to content

isabella232/tap-wootric

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap-wootric

A Singer 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:

› python setup.py install

Run

Run the application

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:

{
  "client_id": "a64characterstring...",
  "client_secret": "another64characterstring..."
}

and state.json is a file containing only the value of the last state message.


Copyright © 2017 Stitch

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%