Skip to main content

Test Dataverse Client

Project description

allen-powerplatform-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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

  • API version: 1.0
  • Package version: 0.0.1
  • Generator version: 7.17.0-SNAPSHOT
  • 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 allen_powerplatform_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 allen_powerplatform_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import allen_powerplatform_client
from allen_powerplatform_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://8fd02505cbdee9558087f7d04a48a5.11.environment.api.powerplatform.com
# See configuration.py for a list of all supported configuration parameters.
configuration = allen_powerplatform_client.Configuration(
    host = "https://8fd02505cbdee9558087f7d04a48a5.11.environment.api.powerplatform.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

configuration.access_token = os.environ["ACCESS_TOKEN"]

configuration.access_token = os.environ["ACCESS_TOKEN"]

configuration.access_token = os.environ["ACCESS_TOKEN"]


# Enter a context with an instance of the API client
with allen_powerplatform_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = allen_powerplatform_client.DefaultApi(api_client)
    api_version = 1 # int |  (default to 1)
    body = allen_powerplatform_client.FetchProjectByNameRequest() # FetchProjectByNameRequest | 

    try:
        # Get Project PowerAutomate Flow
        api_response = api_instance.fetch_project_by_name(api_version, body)
        print("The response of DefaultApi->fetch_project_by_name:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->fetch_project_by_name: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://8fd02505cbdee9558087f7d04a48a5.11.environment.api.powerplatform.com

Class Method HTTP request Description
DefaultApi fetch_project_by_name POST /powerautomate/automations/direct/workflows/3bd68c3caf34448db7d6e2cd53602f88/triggers/manual/paths/invoke Get Project PowerAutomate Flow
DefaultApi fetch_table_by_name POST /powerautomate/automations/direct/workflows/0438716ee92b4378811dbc975401decd/triggers/manual/paths/invoke Get Table Power Automate Flow
DefaultApi fetch_table_names POST /powerautomate/automations/direct/workflows/70452d9b21584637a8023e3d66fc37ea/triggers/manual/paths/invoke Get Table Names Power Automate Flow

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauth2-auth

oAuthClientCredentials

certOauth

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allen_powerplatform_client-0.0.1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

allen_powerplatform_client-0.0.1-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file allen_powerplatform_client-0.0.1.tar.gz.

File metadata

File hashes

Hashes for allen_powerplatform_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d5935bd9068a9bd1838926ef6bc95e83799e08592fc6f089b3556c5ff4626d1a
MD5 7460eb175fce56b4bee34efede980aee
BLAKE2b-256 eaa3fbba504794eb112d978e89f83845d0048eba60c79a433dd8f34794f38a16

See more details on using hashes here.

File details

Details for the file allen_powerplatform_client-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for allen_powerplatform_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1816c83f596212199543651dee88a922a0cf4e4f13f87ed04795c6541c675282
MD5 d9f7a2ba7d63cf9400c50996c3dfeb21
BLAKE2b-256 a719476c82d1c4bebaa6d9be3793c3664759b9acfb5cf1c0af5bf51122dfc6e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page