Giter Club home page Giter Club logo

gittip-gdoc's Introduction

gittip-gdoc

Extract records from a Google Doc spreadsheet and bulk set the results on Gittip.

This script was made to make it easy for devs at Khan Academy to give an aggregate donation via the Khan Academy Gittip account. More information at: http://ejohn.org/blog/gittip-at-khan-academy/

Setting up the Spreadsheet

In order to use this you'll need to clone the following Google Doc and configure it to work with your own use case.

https://docs.google.com/a/khanacademy.org/spreadsheet/ccc?key=0ApubWHv0aMirdEMyYzBFU1ljTzU2TzMwMS1fT2czRGc

You'll also need to make sure that the spreadsheet is set to be automatically published to the web. This can be enabled by going to "File > Publish to the web...".

Configuration

Once you've done this you'll need to copy sample.config.json to config.json and then complete the properties, specifically:

The Google Doc spreadsheet key (gdoc_key). For example given the above form the key would be: 0ApubWHv0aMirdEMyYzBFU1ljTzU2TzMwMS1fT2czRGc.

Your Gittip API Key (gittip_api_key). This can be found by going to your profile page.

You max per-user contribution (gittip_max_per_user). This is the maximum amount (in dollars) that a user can contribute.

Usage

Finally you'll need to make sure that you have Node installed. You'll then need to run the following inside this directory to initialize the script's dependencies:

npm install

Finally, to run the script you'll run:

node pay.js

gittip-gdoc's People

Contributors

jeresig avatar

Watchers

 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.