Socket
Book a DemoInstallSign in
Socket

vrt-lss-routing

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vrt-lss-routing

VRt.Routing [RT]

7.22.2904
pipPyPI
Maintainers
1

vrt_lss_routing

Description

VRt.Routing is designed to find a route between locations and build time-distance matrices.

Features

  • Getting the distance and time between two locations, including traffic jams
  • Finding a route between specified locations
  • Creating a time-distance matrix

Entity relationship diagram

erd

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

  • API version: 7.22.2904
  • Package version: 7.22.2904
  • Generator version: 7.15.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 vrt_lss_routing

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 vrt_lss_routing

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:


import vrt_lss_routing
from vrt_lss_routing.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.edge7.veeroute.cloud
# See configuration.py for a list of all supported configuration parameters.
configuration = vrt_lss_routing.Configuration(
    host = "https://api.edge7.veeroute.cloud"
)

# 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.

# Configure Bearer authorization (JWT): ApiKeyAuth
configuration = vrt_lss_routing.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with vrt_lss_routing.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = vrt_lss_routing.MatrixApi(api_client)
    matrix_task = vrt_lss_routing.MatrixTask() # MatrixTask | New request for matrix calculation.

    try:
        # Time-distance matrix
        api_response = api_instance.run_matrix_calculation(matrix_task)
        print("The response of MatrixApi->run_matrix_calculation:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling MatrixApi->run_matrix_calculation: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.edge7.veeroute.cloud

ClassMethodHTTP requestDescription
MatrixApirun_matrix_calculationPOST /routing/matrix/calculationTime-distance matrix
RouteApirun_route_calculationPOST /routing/route/calculationRoute between points
SystemApicheckGET /routing/system/checkChecking the availability
SystemApifileGET /routing/file/{filename}Getting the documentation
SystemApiversionGET /routing/system/versionGetting the service version

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ApiKeyAuth

  • Type: Bearer authentication (JWT)

Author

servicedesk@veeroute.com

Keywords

OpenAPI

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.