All URIs are relative to https://looker.buffer.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
login | POST /login | login |
logout | DELETE /logout | logout |
AccessToken login(client_id=client_id, client_secret=client_secret)
login
import time
import lookerpy
from lookerpy.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerpy.ApiAuthApi()
client_id = 'client_id_example' # str | client_id part of API3 Key. (optional)
client_secret = 'client_secret_example' # str | client_secret part of API3 Key. (optional)
try:
# login
api_response = api_instance.login(client_id=client_id, client_secret=client_secret)
pprint(api_response)
except ApiException as e:
print "Exception when calling ApiAuthApi->login: %s\n" % e
Name | Type | Description | Notes |
---|---|---|---|
client_id | str | client_id part of API3 Key. | [optional] |
client_secret | str | client_secret part of API3 Key. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str logout()
logout
import time
import lookerpy
from lookerpy.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = lookerpy.ApiAuthApi()
try:
# logout
api_response = api_instance.logout()
pprint(api_response)
except ApiException as e:
print "Exception when calling ApiAuthApi->logout: %s\n" % e
This endpoint does not need any parameter.
str
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]