GithubHelp home page GithubHelp logo

tap-signonsite's Introduction

tap-signonsite

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

This tap:

  • Pulls raw data from the SignOnSite API
  • Extracts the following resources from SignOnSite:
    • Sites
    • Attendances
    • Companies
    • Users
  • Outputs the schema for each resource
  • Incrementally pulls data based on the input state

Quick start

  1. Install

    We recommend using a virtualenv:

    > virtualenv -p python3 venv
    > source venv/bin/activate
    > pip install -e .
  2. Get your SignOnSite API key

    Log into the SignOnSite portal with an admin account, and go to the settings page. Click on the button at the bottom to generate the secret API key.

  3. Create the config file

    Create a JSON file called config.json containing the access token you just created.

    { "api_key": "yourapikey" }
  4. Run the tap in discovery mode to get properties.json file

    tap-signonsite --config config.json --discover > properties.json
  5. In the properties.json file, select the streams to sync

    Each stream in the properties.json file has a "schema" entry. To select a stream to sync, add "selected": true to that stream's "schema" entry. For example, to sync the pull_requests stream:

    ...
    "tap_stream_id": "sites",
    "schema": {
      "selected": true,
      "properties": {
    ...
    
  6. Run the application

    tap-signonsite can be run with:

    tap-signonsite --config config.json --properties properties.json

    Copyright © 2020 Stitch

tap-signonsite's People

Contributors

jacobrobertbaca avatar samwoolertonfosters avatar

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.