/tap-strava

Singer.io tap for extracting Strava data

Primary LanguagePython

tap-strava

This is a Singer tap that produces JSON-formatted data following the Singer spec.

This tap:

  • Pulls raw data from the Strava API
  • Extracts the following resources:
  • Outputs the schema for each resource
  • Incrementally pulls data based on the input state

Quick Start

  1. Install

    pip install tap-strava
  2. Create the config file

    Create a JSON file called config.json. Its contents should look like:

     {
         "start_date": "2010-01-01",
         "access_token": "<Strava access_token>",
         "refresh_token": "<Strava refresh_token>"
     }

    The start_date specifies the date at which the tap will begin pulling data (for those resources that support this).

  3. Run the Tap in Discovery Mode

    tap-strava --config config.json --discover > catalog.json

    See the Singer docs on discovery mode here.

  4. Run the Tap in Sync Mode

    tap-strava --config config.json --catalog catalog.json