Skip to content

Instantly share code, notes, and snippets.

@thespad
thespad / dotabrag.py
Last active August 29, 2015 14:05 — forked from 7596ff/dotabrag.py
Tweet Dota Match Results
import urllib
import json
import string
import sys
import ConfigParser
import tweepy
def craftTweet(match_id, level, hero, kills, deaths, assists, result, lobby):
unformatted = '{} some {} Dota as Lv{} {} KDA: {}/{}/{} #dotabrag\nDotabuff: {}'