Skip to content

Instantly share code, notes, and snippets.

@Deepwalker
Created September 14, 2011 16:31
Show Gist options
  • Save Deepwalker/1217027 to your computer and use it in GitHub Desktop.
Save Deepwalker/1217027 to your computer and use it in GitHub Desktop.
api = bundle.generate_api(apis, '127.0.0.1:5000')
print api.room.get.__dict__
print 'API call result', api.room.get(id=1)
{'host': '127.0.0.1:5000', 'method': {'name': 'get', 'url': '/room/{id}', 'args': ['id'], 'methods': ['GET'], 'host': '', 'desc': 'Return room info'}}
{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment