This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |