Skip to content

Instantly share code, notes, and snippets.

View ramma's full-sized avatar

Justin ramma

View GitHub Profile
@7596ff
7596ff / dotabrag.py
Created August 11, 2014 17:33
quick dotabrag tweet thing
import urllib
import json
import string
import sys
import ConfigParser
import tweepy
def craftTweet(match_id, level, hero, kills, deaths, assists):
unformatted = 'Just played a match: Hero: Lvl. {} {} K/D/A: {}/{}/{}\nDotabuff: {}'