Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.5 KB

File metadata and controls

56 lines (38 loc) · 1.5 KB

swagger_client.LoginApi

All URIs are relative to https://www.buxfer.com/api/

Method HTTP request Description
login_post POST /login Login to website.

login_post

LoginResponse login_post(body)

Login to website.

Login to website with user & password. get a token.

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.LoginApi()
body = swagger_client.LoginData() # LoginData | Login with user & password

try:
    # Login to website.
    api_response = api_instance.login_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LoginApi->login_post: %s\n" % e)

Parameters

Name Type Description Notes
body LoginData Login with user & password

Return type

LoginResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/xml, application/x-www-form-urlencoded
  • Accept: application/json, application/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]