Skip to content

truehostcloud/postiz-python-client

Repository files navigation

postiz-python-client

API description

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.17.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import postiz_python_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import postiz_python_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

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.AgenciesApi(api_client)
    body = None # object | 

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AgenciesApi agencies_controller_create_agency POST /agencies
AgenciesApi agencies_controller_get_agency_by_users GET /agencies
AgenciesApi agencies_controller_update_agency POST /agencies/action/{action}/{id}
AnalyticsApi analytics_controller_get_integration GET /analytics/{integration}
AnalyticsApi analytics_controller_get_stars GET /analytics
AnalyticsApi analytics_controller_get_stars_filter POST /analytics/stars
AnalyticsApi analytics_controller_get_trending GET /analytics/trending
AuthApi auth_controller_activate POST /auth/activate
AuthApi auth_controller_can_register GET /auth/can-register
AuthApi auth_controller_forgot POST /auth/forgot
AuthApi auth_controller_forgot_return POST /auth/forgot-return
AuthApi auth_controller_login POST /auth/login
AuthApi auth_controller_oauth_exists POST /auth/oauth/{provider}/exists
AuthApi auth_controller_oauth_link GET /auth/oauth/{provider}
AuthApi auth_controller_register POST /auth/register
AutopostApi autopost_controller_change_active POST /autopost/{id}/active
AutopostApi autopost_controller_create_autopost POST /autopost
AutopostApi autopost_controller_delete_autopost DELETE /autopost/{id}
AutopostApi autopost_controller_get_autoposts GET /autopost
AutopostApi autopost_controller_send_webhook POST /autopost/send
AutopostApi autopost_controller_update_autopost PUT /autopost/{id}
BillingApi billing_controller_add_subscription POST /billing/add-subscription
BillingApi billing_controller_cancel POST /billing/cancel
BillingApi billing_controller_check_id GET /billing/check/{id}
BillingApi billing_controller_crypto GET /billing/crypto
BillingApi billing_controller_finish_trial POST /billing/finish-trial
BillingApi billing_controller_get_current_billing GET /billing
BillingApi billing_controller_is_trial_finished GET /billing/is-trial-finished
BillingApi billing_controller_lifetime POST /billing/lifetime
BillingApi billing_controller_modify_payment GET /billing/portal
BillingApi billing_controller_prorate POST /billing/prorate
BillingApi billing_controller_subscribe POST /billing/subscribe
IntegrationsApi integrations_controller_change_plug_activation PUT /integrations/plugs/{id}/activate
IntegrationsApi integrations_controller_connect_social_media POST /integrations/social/{integration}/connect
IntegrationsApi integrations_controller_delete_channel DELETE /integrations
IntegrationsApi integrations_controller_disable_channel POST /integrations/disable
IntegrationsApi integrations_controller_enable_channel POST /integrations/enable
IntegrationsApi integrations_controller_function_integration POST /integrations/function
IntegrationsApi integrations_controller_get_customers GET /integrations/customers
IntegrationsApi integrations_controller_get_integration_list GET /integrations/list
IntegrationsApi integrations_controller_get_integration_url GET /integrations/social/{integration}
IntegrationsApi integrations_controller_get_integrations GET /integrations
IntegrationsApi integrations_controller_get_internal_plugs GET /integrations/{identifier}/internal-plugs
IntegrationsApi integrations_controller_get_plug_list GET /integrations/plug/list
IntegrationsApi integrations_controller_get_plugs_by_integration_id GET /integrations/{id}/plugs
IntegrationsApi integrations_controller_get_single_integration GET /integrations/{id}
IntegrationsApi integrations_controller_get_updates GET /integrations/telegram/updates
IntegrationsApi integrations_controller_mentions POST /integrations/mentions
IntegrationsApi integrations_controller_post_plugs_by_integration_id POST /integrations/{id}/plugs
IntegrationsApi integrations_controller_save_facebook POST /integrations/facebook/{id}
IntegrationsApi integrations_controller_save_gmb POST /integrations/gmb/{id}
IntegrationsApi integrations_controller_save_instagram POST /integrations/instagram/{id}
IntegrationsApi integrations_controller_save_linkedin POST /integrations/linkedin-page/{id}
IntegrationsApi integrations_controller_set_nickname POST /integrations/{id}/nickname
IntegrationsApi integrations_controller_set_time POST /integrations/{id}/time
IntegrationsApi integrations_controller_update_integration_group PUT /integrations/{id}/group
IntegrationsApi integrations_controller_update_on_customer_name PUT /integrations/{id}/customer-name
IntegrationsApi integrations_controller_update_provider_settings POST /integrations/{id}/settings
MarketplaceApi marketplace_controller_add_items POST /marketplace/item
MarketplaceApi marketplace_controller_approve POST /marketplace/posts/{id}/approve
MarketplaceApi marketplace_controller_cancel POST /marketplace/posts/{id}/cancel
MarketplaceApi marketplace_controller_change_active POST /marketplace/active
MarketplaceApi marketplace_controller_change_audience POST /marketplace/audience
MarketplaceApi marketplace_controller_complete_order POST /marketplace/offer/{id}/complete
MarketplaceApi marketplace_controller_connect_bank_account GET /marketplace/bank
MarketplaceApi marketplace_controller_create_conversation POST /marketplace/conversation
MarketplaceApi marketplace_controller_create_offer POST /marketplace/offer
MarketplaceApi marketplace_controller_get_account GET /marketplace/account
MarketplaceApi marketplace_controller_get_influencers POST /marketplace
MarketplaceApi marketplace_controller_get_items GET /marketplace/item
MarketplaceApi marketplace_controller_get_orders GET /marketplace/orders
MarketplaceApi marketplace_controller_pay_order POST /marketplace/orders/{id}/payment
MarketplaceApi marketplace_controller_post GET /marketplace/posts/{id}
MarketplaceApi marketplace_controller_revision POST /marketplace/posts/{id}/revision
MediaApi media_controller_delete_media DELETE /media/{id}
MediaApi media_controller_generate_image POST /media/generate-image
MediaApi media_controller_generate_image_from_text POST /media/generate-image-with-prompt
MediaApi media_controller_generate_video POST /media/generate-video
MediaApi media_controller_generate_video_allowed GET /media/generate-video/{type}/allowed
MediaApi media_controller_get_media GET /media
MediaApi media_controller_get_videos GET /media/video-options
MediaApi media_controller_save_media POST /media/save-media
MediaApi media_controller_save_media_information POST /media/information
MediaApi media_controller_upload_file POST /media/{endpoint}
MediaApi media_controller_upload_server POST /media/upload-server
MediaApi media_controller_upload_simple POST /media/upload-simple
MediaApi media_controller_video_function POST /media/video/function
MessagesApi messages_controller_create_message POST /messages/{groupId}
MessagesApi messages_controller_get_messages GET /messages/{groupId}/{page}
MessagesApi messages_controller_get_messages_group GET /messages
MonitorApi monitor_controller_get_messages_group GET /monitor/queue/{name}
NotificationsApi notifications_controller_main_page_list GET /notifications
NotificationsApi notifications_controller_notifications GET /notifications/list
PostsApi posts_controller_change_date PUT /posts/{id}/date
PostsApi posts_controller_create_comment POST /posts/{id}/comments
PostsApi posts_controller_create_post POST /posts
PostsApi posts_controller_create_tag POST /posts/tags
PostsApi posts_controller_delete_post DELETE /posts/{group}
PostsApi posts_controller_edit_tag PUT /posts/tags/{id}
PostsApi posts_controller_find_slot GET /posts/find-slot
PostsApi posts_controller_find_slot_integration GET /posts/find-slot/{id}
PostsApi posts_controller_generate_posts POST /posts/generator
PostsApi posts_controller_generate_posts_draft POST /posts/generator/draft
PostsApi posts_controller_get_marketplace_posts GET /posts/marketplace/{id}
PostsApi posts_controller_get_post GET /posts/{id}
PostsApi posts_controller_get_posts GET /posts
PostsApi posts_controller_get_statistics GET /posts/{id}/statistics
PostsApi posts_controller_get_tags GET /posts/tags
PostsApi posts_controller_old_posts GET /posts/old
PostsApi posts_controller_predict_trending GET /posts/predict-trending
PostsApi posts_controller_separate_posts POST /posts/separate-posts
PostsApi posts_controller_should_shortlink POST /posts/should-shortlink
PublicApi public_controller_create_agent POST /public/agent
PublicApi public_controller_crypto_post POST /public/crypto/{path}
PublicApi public_controller_get_agencies_count GET /public/agencies-list-count
PublicApi public_controller_get_agency_by_user GET /public/agencies-list
PublicApi public_controller_get_agency_information GET /public/agencies-information/{agency}
PublicApi public_controller_get_agency_slug GET /public/agencies-list-slug
PublicApi public_controller_get_comments GET /public/posts/{id}/comments
PublicApi public_controller_get_preview GET /public/posts/{id}
PublicApi public_controller_stream_file GET /public/stream
PublicApi public_controller_track_event POST /public/t
PublicAPIApi public_integrations_controller_create_post POST /public/v1/posts
PublicAPIApi public_integrations_controller_delete_post DELETE /public/v1/posts/{id}
PublicAPIApi public_integrations_controller_find_slot_integration GET /public/v1/find-slot/{id}
PublicAPIApi public_integrations_controller_generate_video POST /public/v1/generate-video
PublicAPIApi public_integrations_controller_get_active_integrations GET /public/v1/is-connected
PublicAPIApi public_integrations_controller_get_posts GET /public/v1/posts
PublicAPIApi public_integrations_controller_list_integration GET /public/v1/integrations
PublicAPIApi public_integrations_controller_upload_simple POST /public/v1/upload
PublicAPIApi public_integrations_controller_uploads_from_url POST /public/v1/upload-from-url
PublicAPIApi public_integrations_controller_video_function POST /public/v1/video/function
SetsApi sets_controller_create_a_set POST /sets
SetsApi sets_controller_delete_set DELETE /sets/{id}
SetsApi sets_controller_get_sets GET /sets
SetsApi sets_controller_update_set PUT /sets
SettingsApi settings_controller_add_git_hub POST /settings/github
SettingsApi settings_controller_auth_url GET /settings/github/url
SettingsApi settings_controller_delete_repository DELETE /settings/repository/{id}
SettingsApi settings_controller_delete_team_member DELETE /settings/team/{id}
SettingsApi settings_controller_get_connected_github_accounts GET /settings/github
SettingsApi settings_controller_get_organizations GET /settings/organizations/{id}
SettingsApi settings_controller_get_repositories GET /settings/organizations/{id}/{github}
SettingsApi settings_controller_get_team GET /settings/team
SettingsApi settings_controller_invite_team_member POST /settings/team
SettingsApi settings_controller_update_git_hub_login POST /settings/organizations/{id}
SignaturesApi signature_controller_create_signature POST /signatures
SignaturesApi signature_controller_delete_signature DELETE /signatures/{id}
SignaturesApi signature_controller_get_default_signature GET /signatures/default
SignaturesApi signature_controller_get_signatures GET /signatures
SignaturesApi signature_controller_update_signature PUT /signatures/{id}
StripeApi stripe_controller_get_stripe_codes GET /stripe/lifetime-deal-codes/{provider}
StripeApi stripe_controller_stripe POST /stripe
StripeApi stripe_controller_stripe_connect POST /stripe/connect
ThirdPartyApi third_party_controller_add_api_key POST /third-party/{identifier}
ThirdPartyApi third_party_controller_call_function POST /third-party/function/{id}/{functionName}
ThirdPartyApi third_party_controller_delete_by_id DELETE /third-party/{id}
ThirdPartyApi third_party_controller_generate POST /third-party/{id}/submit
ThirdPartyApi third_party_controller_get_saved_third_party GET /third-party
ThirdPartyApi third_party_controller_get_third_party_list GET /third-party/list
UserApi users_controller_change_org POST /user/change-org
UserApi users_controller_change_personal POST /user/personal
UserApi users_controller_get_impersonate GET /user/impersonate
UserApi users_controller_get_orgs GET /user/organizations
UserApi users_controller_get_personal GET /user/personal
UserApi users_controller_get_self GET /user/self
UserApi users_controller_get_subscription GET /user/subscription
UserApi users_controller_join_org POST /user/join-org
UserApi users_controller_logout POST /user/logout
UserApi users_controller_set_impersonate POST /user/impersonate
UserApi users_controller_tiers GET /user/subscription/tiers
UserApi users_controller_track_event POST /user/t
WebhooksApi webhook_controller_create_a_webhook POST /webhooks
WebhooksApi webhook_controller_delete_webhook DELETE /webhooks/{id}
WebhooksApi webhook_controller_get_statistics GET /webhooks
WebhooksApi webhook_controller_send_webhook POST /webhooks/send
WebhooksApi webhook_controller_update_webhook PUT /webhooks
DefaultApi copilot_controller_agent POST /copilot/agent
DefaultApi copilot_controller_calculate_credits GET /copilot/credits
DefaultApi copilot_controller_chat_agent POST /copilot/chat
DefaultApi copilot_controller_get_list GET /copilot/list
DefaultApi copilot_controller_get_messages_list GET /copilot/{thread}/list
DefaultApi root_controller_get_root GET /

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

About

Postiz python client

Resources

Stars

Watchers

Forks

Packages

No packages published