Skip to content

Latest commit

 

History

History
246 lines (156 loc) · 6.6 KB

File metadata and controls

246 lines (156 loc) · 6.6 KB

postiz_python_client.AnalyticsApi

All URIs are relative to http://localhost

Method HTTP request Description
analytics_controller_get_integration GET /analytics/{integration}
analytics_controller_get_stars GET /analytics
analytics_controller_get_stars_filter POST /analytics/stars
analytics_controller_get_trending GET /analytics/trending

analytics_controller_get_integration

analytics_controller_get_integration(integration, var_date)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.AnalyticsApi(api_client)
    integration = 'integration_example' # str | 
    var_date = 'var_date_example' # str | 

    try:
        api_instance.analytics_controller_get_integration(integration, var_date)
    except Exception as e:
        print("Exception when calling AnalyticsApi->analytics_controller_get_integration: %s\n" % e)

Parameters

Name Type Description Notes
integration str
var_date str

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

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

analytics_controller_get_stars

analytics_controller_get_stars()

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.AnalyticsApi(api_client)

    try:
        api_instance.analytics_controller_get_stars()
    except Exception as e:
        print("Exception when calling AnalyticsApi->analytics_controller_get_stars: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

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

analytics_controller_get_stars_filter

analytics_controller_get_stars_filter(body)

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.AnalyticsApi(api_client)
    body = None # object | 

    try:
        api_instance.analytics_controller_get_stars_filter(body)
    except Exception as e:
        print("Exception when calling AnalyticsApi->analytics_controller_get_stars_filter: %s\n" % e)

Parameters

Name Type Description Notes
body object

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

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

HTTP response details

Status code Description Response headers
201 -

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

analytics_controller_get_trending

analytics_controller_get_trending()

Example

import postiz_python_client
from postiz_python_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = postiz_python_client.Configuration(
    host = "http://localhost"
)


# Enter a context with an instance of the API client
with postiz_python_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = postiz_python_client.AnalyticsApi(api_client)

    try:
        api_instance.analytics_controller_get_trending()
    except Exception as e:
        print("Exception when calling AnalyticsApi->analytics_controller_get_trending: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 -

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