import sys

if sys.version_info[0] != 2:
	print("mlbgame requires Python 2.6+ and does not work with Python 3")
	print("You are running Python version {}.{}".format(sys.version_info.major, sys.version_info.minor))
	sys.exit(1)

import mlbgame.game

from mlbgame import version
VERSION = version.__version__

def one(year, month, day):
	'''
	Return an array of games for a certain day
	'''
	data = mlbgame.game.scoreboard(year, month, day)
	results = []
	for x in data:
		obj = mlbgame.game.Game(data[x])
		results.append(obj)
	return results

def games(year, month, days):
	'''
	Return an array of arrays of games for multiple days
	'''
	results = []
	for x in days:
		game = one(year, month, x)
		results.append(game)
	return results
@@ -1,12 +1,684 @@
+'''%0Amlbgame is an API to read MLB GameDay XML and JSON data.%0Amlbgame works with real time data, getting information as games are being played.%0A%0Amlbgame uses the same data that MLB GameDay uses,%0Aand therefore is updated as soon as something happens in a game.%0A%0Amlbgame currently comes pre-loaded with every game%0Afrom 2009 to the end of the 2015 season,%0Abut will be updated regularly during the season.%0ATherefore, accessing this data does not actually make a request to mlb.com%0A%0AIf you try to get data from a game that is not cached,%0Amlbgame will download the data from mlb.com.%0AIf the information you request is from completed games,%0Athat data will be cached to disk.%0A'''%0A%0A
 import sys%0A%0A

Add basic documentation