Skip to content

Instantly share code, notes, and snippets.

@jayd3e
Created June 26, 2014 19:34
Show Gist options
  • Save jayd3e/ecb509e757e4591913f2 to your computer and use it in GitHub Desktop.
Save jayd3e/ecb509e757e4591913f2 to your computer and use it in GitHub Desktop.
"""
@description:
Logs in a user by their username or email. Optionally, you can specify
a remember boolean to signify that you want to keep the session open
for a longer period of time.
@resource_url: https://clusterflunk.com/api/1/login
@param: username
@type: string
@description:
This is a cool description, and I can do some awesome stuff in it:
don't repeat yourself
@param: password
@type: string
@description:
This is a cool description, and I can do some awesome stuff in it:
don't repeat yourself
* blah
* blah
* blah
@response
{
'username': 'tom',
'password': 'foolery',
'remember': false
}
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment