Skip to content

Instantly share code, notes, and snippets.

import pycurl
import json
from StringIO import StringIO
buffer = StringIO()
c = pycurl.Curl()
c.setopt(c.URL, 'http://stats.nba.com/stats/leaguedashteamstats?Conference=&DateFrom=&DateTo=&Division=&GameScope=&GameSegment=&LastNGames=0&LeagueID=00&Location=&MeasureType=Advanced&Month=0&OpponentTeamID=0&Outcome=&PORound=0&PaceAdjust=N&PerMode=Totals&Period=0&PlayerExperience=&PlayerPosition=&PlusMinus=N&Rank=N&Season=2015-16&SeasonSegment=&SeasonType=Regular+Season&ShotClockRange=&StarterBench=&TeamID=0&VsConference=&VsDivision=')
c.setopt(c.WRITEDATA, buffer)
c.perform()
c.close()
@Wulf
Wulf / keybase.md
Last active February 26, 2016 05:17
The Treaty of Keybase 2016

Keybase proof

I hereby claim:

  • I am Wulf on github.
  • I am wulf (https://keybase.io/wulf) on keybase.
  • I have a public key whose fingerprint is F1FF 419A 558D 34FC 6952 94D7 2C64 184B B33C BCC6

To claim this, I am signing this object: