Skip to content

Vern-Technologies/py_behrtech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

168 Commits
 
 
 
 
 
 
 
 

Repository files navigation

publish-pypi

py-behrtech

A python wrapper for BehrTech's Mythings Central REST API. Currently, supporting version 3.1.0.

Status

This package is a work in progress. Currently, working to get all API endpoints implemented with checks on each returned status code.

Example

Set up your call, which creates a connection to your gateway and request messages.

from py_behrtech import Calls

call = Calls(username='gateway_username', password='password for username', server_address='gateways IP address')

messages = call.messagesGet(returnCount=10, offset=100, epEui='70B3D5C1F004112C')

print(messages.getData())

Endpoints Check List:

Azure

EndPoint Done
azurefunctionDelete
azurefunctionFunctionIDDelete
azurefunctionFunctionIDGet
azurefunctionGet
azurefunctionPost
azuremappingDelete
azuremappingGet
azuremappingMappingIDDelete
azuremappingMappingIDGet
azuremappingPost

Base Station

EndPoint Done
systemBasestationBsEuiConfigGet
systemBasestationBsEuiConfigPost
systemBasestationBsEuiDelete
systemBasestationBsEuiGet
systemBasestationBsEuiPost

MQTT

EndPoint Done
brokerBrokerIDDelete
brokerBrokerIDGet
brokerBrokerIDPost
brokerDelete
brokerGet
brokerPost
mqttmappingDelete
mqttmappingGet
mqttmappingPost
mqttmappingMappingIDDelete
mqttmappingMappingIDGet

Messages

EndPoint Done
messagesDelete
messagesGet
messagesPost

Nodes

EndPoint Done
nodesDelete
nodesEpEuiDelete
nodesEpEuiGet
nodesEpEuiPost
nodesEpEuiTxdataDelete
nodesEpEuiTxdataGet
nodesEPEuiTxdataIdDelete
nodesEpEuiTxdataIdGet
nodesEpEuiTxdataIdPost
nodesEpEuiTxdataPost
nodesGet
nodesPost

Plugin

EndPoint Done
pluginAcceptGet
pluginAcceptPost
pluginPluginNameArbitraryPathGet
pluginPluginNameDelete
pluginPluginNameGet
pluginPluginNameMappingDelete
pluginPluginNameMappingGet
pluginPluginNameMappingPost
pluginPluginNameMappingEpEuiDelete
pluginRegisterGet

Sensor Models

EndPoint Done
sensormodelsDelete
sensormodelsGet
sensormodelsPost
sensormodelsSensorTypeDelete
sensormodelsSensorTypeGet
sensormodelsSensorTypePost

System

EndPoint Done
authTicketGet
systemDatabasedumpGet
systemDatabasedumpIdDelete
systemDatabasedumpIdGet
systemEulaGet
systemGet
wsGet

User

EndPoint Done
loginPost
userGet
userPost
userUUIDDelete
userUUIDGet
userUUIDProfilePost
userUUIDResetPasswordPost

PyPI

Access PyPI project.

License

py-behrtech is released under the MIT license

About

A package to interface with BehrTech's gateway computer API for requesting and parsing data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages