Giter Club home page Giter Club logo

tap-clubhouse's Introduction

tap-clubhouse

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

This tap:

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

Quick start

  1. Install

    > pip install tap-clubhouse
  2. Get your Clubhouse API Key

    Login to your Clubhouse account, navigate to Your Account > API Tokens page, and generate a new token. You'll need it for the next step.

  3. Create the config file

    Create a JSON file called config.json containing the api token you just generated.

    {"api_token": "your-api-token",
     "start_date": "2017-01-01T00:00:00Z"}
  4. [Optional] Create the initial state file

    You can provide JSON file that contains a date for the API endpoints to force the application to only fetch data newer than those dates. If you omit the file it will fetch all Clubhouse data

    {"stories": "2017-01-17T20:32:05Z"}
  5. Run the application

    tap-clubhouse can be run with:

    tap-clubhouse --config config.json [--state state.json]
  6. [Optional] Save state

    › tap-clubhouse --config config.json --state state.json >> state.json
    › tail -1 state.json > state.json.tmp && mv state.json.tmp state.json

Copyright © 2017 Envoy

tap-clubhouse's People

Contributors

abuiles avatar arvindenvoy avatar kamal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tap-clubhouse's Issues

Clubhouse V2

Hi Kamal,

I just wanted to let you know that we've released Clubhouse API V2. While V1 will continue to be supported, V2 exposes endpoints for several new features such as Teams, Milestones, and Categories.

Thanks,
Camille

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.