Skip to content

azarai/python-mochi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Mochi is a lib for working with the mochi api in python.

What it currently does

  • fetch game by gametag from mochiads server
  • unzip and store game locally
  • list games in local filestore
  • get game by slug or game_tag from local filestore

Code:

Download python-mochi from git repository
Tested with python 2.5 and 2.6

License:

BSD

Short example:

:::python
from mochi import list_games
from mochi.autopost import fetch_game

PUBLISHER_ID = 'your publisher id'

game_tag= '18c4fc4b1b391f11'

filestore = '.'

game = fetch_game(PUBLISHER_ID, game_tag, filestore)
print 'downloaded game %s ' % game.slug

games = list_games(filestore)

for game in games:
    print game.slug

About

A python lib for working with mochiads games ( https://www.mochimedia.com/ )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages