Skip to content

Instantly share code, notes, and snippets.

Jackson Palmer ummjackson

Block or report user

Report or block ummjackson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ummjackson /
Last active Aug 29, 2015 Data Spelunking
import requests, simplejson
url = ''
headers = {'Content-Type': 'application/json', 'Authorization': 'JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6InVtbWphY2tzb250ZXN0IiwidXNlcl9pZCI6NDM5MTYsImlwIjoiMTczLjI0Ny4yMDUuOSIsInIiOiJ3Q2VhTERMVCIsImV4cCI6MTQzODMyNTM1MCwiZW1haWwiOiJuby1yZXBseUB1bW1qYWNrc29uLmNvbSJ9.jz4jAeQmEPQ8-f-Atm9XKI9hXIuh8mMmdPlMRTZNnIw'}
r = requests.get(url, headers=headers)
with open('orders.json', 'w') as output:
output.write(simplejson.dumps(simplejson.loads(r.content), indent=4, sort_keys=True))
View orders.json
This file has been truncated, but you can view the full file.
"count": 1005,
"results": [
"available_actions": [],
"buyer_requirements": {},
"created_at": "1438125176",
"id": "SP-6QYXDIAG",
"items": [
View gist:262c75006845d0013a1a
Verifying myself: My Bitcoin username is +ummjackson.
ummjackson / 0_reuse_code.js
Created Jan 21, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.