Skip to content

Instantly share code, notes, and snippets.

@Deepwalker
Created September 14, 2011 16:28
Show Gist options
  • Save Deepwalker/1217020 to your computer and use it in GitHub Desktop.
Save Deepwalker/1217020 to your computer and use it in GitHub Desktop.
apis = list(bundle.dump_api(app))
for m in apis:
print m
{'name': 'room.post_message', 'url': '/room/{id}/message', 'args': ['id'], 'methods': ['POST'], 'host': '', 'desc': 'Post new message'}
{'name': 'room.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