Skip to content

Instantly share code, notes, and snippets.

View leah's full-sized avatar
:shipit:
Always shipping.

Leah Culver leah

:shipit:
Always shipping.
View GitHub Profile
import json
import urllib
import urllib2
import time
""" Nike plus activity log
https://developer.nike.com
Output:
-- May --
@leah
leah / json-response.py
Created October 5, 2011 19:08
JSONResponse classes
import re
import simplejson
from django.http import HttpResponse
from django.conf import settings
class JSONResponse(HttpResponse):
def __init__(self, request, data):
indent = 2 if settings.DEBUG else None