Skip to content

Instantly share code, notes, and snippets.

View zsprackett's full-sized avatar

S. Zachariah Sprackett zsprackett

View GitHub Profile
@zsprackett
zsprackett / README.md
Last active August 29, 2015 13:56 — forked from groodt/README.md

Homebrew Meteor Formula

To install Meteor with the Homebrew formula [below][3], run:

brew install https://gist.githubusercontent.com/zsprackett/9126793/raw/fe97cf997047f305e37f1490dfbbd0dabd76ca56/meteor.rb

This Homebrew Meteor Formula is based on https://install.meteor.com.

import json
import requests
url = "<<instanceurl>>/rest/v10/oauth2/token"
payload = {"grant_type":"password","username":"<<username>>","password":"<<password>>","client_id":"sugar"}
r = requests.post(url, data=json.dumps(payload))
response = json.loads(r.text)