Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.58 KB

V1UsersApi.md

File metadata and controls

58 lines (40 loc) · 1.58 KB

swagger_client.V1UsersApi

All URIs are relative to https://app.linksgpt.com

Method HTTP request Description
get_account_details GET /api/v1/users/me Get account details

get_account_details

InlineResponse2005 get_account_details()

Get account details

Get account details.

Example

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

# Configure API key authorization: ApiKeyAuth
configuration = swagger_client.Configuration()
configuration.api_key['apiKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['apiKey'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.V1UsersApi(swagger_client.ApiClient(configuration))

try:
    # Get account details
    api_response = api_instance.get_account_details()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling V1UsersApi->get_account_details: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

InlineResponse2005

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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