Skip to content

Instantly share code, notes, and snippets.

@Xon
Xon / MinecraftApi.py
Created July 8, 2011 15:15
Updated py interface for jsonapi bukkit w/ multi-subscription streaming
#!/usr/bin/python
import json
import socket
from hashlib import sha256
from urllib import urlencode
from urllib2 import urlopen
class MinecraftStream(object):
# Extends the basic stream object and adds a readjson method to the object