Skip to main content

veFaaS Browser Session Manager API

Project description

vefaas-browser-session

API for managing browser sessions in veFaaS platform

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

  • API version: 0.0.1
  • Package version: 0.0.1
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit http://www.vefaas.com/support

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 vefaas_browser_session

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 vefaas_browser_session

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import vefaas_browser_session
from vefaas_browser_session.rest import ApiException
from pprint import pprint

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



# Enter a context with an instance of the API client
with vefaas_browser_session.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = vefaas_browser_session.BrowsersApi(api_client)
    request = vefaas_browser_session.V1CreateBrowserRequest() # V1CreateBrowserRequest | Browser creation options (optional)

    try:
        # Create a new browser
        api_response = api_instance.create_browser(request=request)
        print("The response of BrowsersApi->create_browser:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling BrowsersApi->create_browser: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:8000/v1

Class Method HTTP request Description
BrowsersApi create_browser POST /browsers Create a new browser
BrowsersApi delete_browser DELETE /browsers/{browser_id} Delete a browser
BrowsersApi get_browser GET /browsers/{browser_id} Get a browser by ID
BrowsersApi get_browser_json_version GET /browsers/{browser_id}/json/version Get browser JSON version
BrowsersApi list_browsers GET /browsers List all browsers

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

support@vefaas.com

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

vefaas_browser_session-0.0.1.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

vefaas_browser_session-0.0.1-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vefaas_browser_session-0.0.1.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for vefaas_browser_session-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d396cf2c0fd4ee5d17f09a00cdca22d1c3985a4f8db7717d8bdd0b24854cbbf3
MD5 02ec11767a0c7450197baf7b4e3b7efc
BLAKE2b-256 93a5a54bf0b5bcb5dc955f164d1c2bf01ae8938a8ea9793d341869659f4c89fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vefaas_browser_session-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e5a0c45810ee95a8f3a6282ffe0538fbf91b46b0a7fcf0967e44f2300a5c5c7
MD5 4dc3e88a9f0d26a8a18be8c7725d2e4f
BLAKE2b-256 68e74700b9cdaea839c465a3c4793fafa9063009c90f2b54f020a5ce543f6154

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