fasva数据管理系统客户端api

fasvadms-client的Python项目详细描述


python fasva dms客户端api

这是访问fasva数据管理系统的客户端api,在 在Hochschule Emden/Leer进行的真实驾驶测试。

这个python包由Open API Generator项目自动生成:

要求。

python 2.7和3.4+

安装和使用

pip安装

您可以在PyPi上找到最新版本所以只要用pip

python包托管在

pip install fasvadms-client

(您可能需要使用根权限运行pipsudo pip install fasvadms-client

然后导入包:

importfasvadms_client

设置工具

通过Setuptools安装。

python setup.py install --user

(或sudo python setup.py install为所有用户安装软件包)

然后导入包:

importfasvadms_client

开始

请按照installation procedure操作,然后运行以下命令:

importfasvadms_clientfromfasvadms_client.restimportApiException# create an instance of the API classapi_instance=fasvadms_client.DriveApi()try:# get all drivesapi_instance.get_drive_list()exceptApiExceptionase:print("Exception when calling DriveApi-get_drive_list: %s\n"%e)

API端点文档

所有uri都与运行fasvadms的主机相关。

ClassMethodHTTP requestDescription
DriveApidelete_by_nameDELETE /drive/{name}/Remove a entity by its name
DriveApiget_by_idGET /drive/{iddrive}Get a entity by its id
DriveApiget_by_nameGET /drive/{name}/Get a entity by its name
DriveApiget_drive_listGET /drive/Get all drives
SceneApiget_scene_by_idGET /scene/{idscene}/Get a scene by its id
SceneApiget_scene_by_time_and_driveGET /scene/time/{timestamp}/drive/{iddrive}Get a scene by its id
SceneApiget_scene_by_time_intervalGET /scene/start/{start_time}/end/{end_time}Get all scenes of the drive with the `iddrive` within the interval defined by `start_time` and `end_time`
SceneApiget_scene_by_time_interval_and_driveGET /scene/start/{start_time}/end/{end_time}/drive/{iddrive}Get all scenes within the interval defined by `start_time` and `end_time`
SceneApiget_scene_listGET /scene/Get all scenes
SceneApiget_scene_signal_by_idGET /scene/{idscene}/signal/{idsignal}Get the signal information (identified by `name`) of the scene with the `idscene`
SceneApiget_scene_signal_by_nameGET /scene/{idscene}/signal/{name}Get the signal information (identified by `idsignal`) of the scene with the `idscene`
SensorApidelete_sensor_by_nameDELETE /sensor/{name}/Remove a sensor by its name
SensorApiget_sensor_by_idGET /sensor/{idsensor}Get a sensor by its id
SensorApiget_sensor_by_nameGET /sensor/{name}/Get a sensor by its name
SensorApiget_sensor_listGET /sensor/Get all sensors
SignalApiget_signal_by_nameGET /signal/{name}/Get a signal by its name
SignalApiget_signal_listGET /signal/Get all signals
SignalTypeApiget_valuetype_by_idGET /type/{idvaluetype}Get a value type by its id
SignalTypeApiget_valuetype_by_nameGET /type/{name}/Get a sensor by its name
SignalTypeApiget_valuetype_listGET /type/Get all signal types
ThumbnailApiget_by_time_and_vehicleGET /thumbnail/time/{time}/serialnumber/{serialnumber}Get a thumbnail of `timestamp` of the vehicle with the `serialnumber`
ThumbnailApiget_intervalGET /thumbnail/start/{start}/end/{end}/serialnumber/{serialnumber}Get thumbnail of the interval defined by `start` and `end` of the vehicle with the `serialnumber`
UnitApiget_by_idGET /unit/{idunit}Get a entity by its id
UnitApiget_by_nameGET /unit/{name}/Get a entity by its name
UnitApiget_listGET /unit/Get all entities
VehicleApiget_vehicle_by_idGET /vehicle/{idvehicle}Get a vehicle by its id
VehicleApiget_vehicle_by_nameGET /vehicle/{name}/Get a vehicle by its name
VehicleApiget_vehicle_listGET /vehicle/Get all vehicles

型号文档

授权文件

所有端点都不需要授权(当前)。

作者

Lars Klitzke

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
如何从Java调用AmazonAWSAPI?   Java中的渗流   java在dao端使用逻辑不是一个好的实践吗?   java Swing绘制网格。韦尔德结果   java如何设置PlusOneButton对话框的共享选项的默认文本   java如何在firebase存储中管理多个上载/下载?   java Wicket在多个位置显示相同的文本   java使用j2me通过蓝牙从一个手机向另一个手机发送短信   java为什么不让DialogWait框自动关闭?   java Visual Studio代码JDBC访问Derby数据库   在java中如何根据日期从文件夹中获取文件   java如何从数据库加载多个数据   java匿名类和同步以及“this”   java无法使用Selenium上载文件   java多线程JAXR调用parallelStream还是Futures?   获取要编译的Netbeans Java程序   java检查二叉树是否为有效BST的函数中的“min”和“max”是什么?   java有人能解释为什么这段代码只在构造函数中工作吗?   java如何将多种类型的用户重定向到各自的活动?