Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 754 Bytes

README.md

File metadata and controls

37 lines (32 loc) · 754 Bytes

tap-shiphero

This is a Singer tap that produces JSON-formatted data following the Singer spec. It pulls raw data from the ShipHero API, extracting:

  • Orders
  • Products
  • Shipments
  • Vendors

Pagination

The API returns up to 100 objects at a time. In order to get everything, we paginate until we get an empty response back.

Bookmark Structure

This is what the state.json looks like:

{
  "bookmarks": {
    "stream_id_1" : {
      "datetime": "2019-01-01T00:00:00Z",
      "page": 75
    },
    "stream_id_2" : {
      "datetime": "2019-01-01T00:00:00Z",
      "page": 75
    },
    ...
  }
  ...
}

datetime is for the last timestamp we saw. page is for the last page we requested and completed.


Copyright © 2018 Stitch