Metadata-Version: 2.1
Name: pypdxapi
Version: 0.0.2
Summary: Python package for Paradox Modules
Home-page: https://github.com/hallenmaia/pypdxapi/
Author: Hallen Maia
Author-email: hallenmaia@me.com
License: MIT license
Keywords: api,client,paradox,camera
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests (==2.24.0)
Requires-Dist: yarl (==1.4.2)

# Paradox® HD77 Camera API

## Introduction

This is a python module that provides an interface for interacting with a Paradox® HD77 camera 
(and possibly other models).

This is licensed under the MIT license.

## Getting started

This API is not documented by Paradox®.

I used reverse engineering on the HD77 model (v1.25.7) to discover it and create the python functions to access it.

It does not work with the IP150 network module and has not yet been tested with other camera models.

I also discovered how to discover Paradox® devices on the network and created the code in the helpers folder 
(see the documentation below).

## Install

```python
pip install pypdxapi
```

## Quick Start

### API usage example

```python
from pypdxapi.camera import ParadoxHD77

cam = ParadoxHD77(host='192.168.1.50', port=80, module_password='paradox')
success = cam.login(usercode='1234', username='master')
if success:
    m3u8 = cam.vod(action=1, channel_type='normal')
```

For more information see docs.

### Discovery usage example

```python
from pypdxapi.helpers import discover_modules

modules = discover_modules()
```

## Disclaimer

The code was developed as a way of integrating personally owned Paradox® HD77 cameras and other modules, and it cannot 
be used for other purposes. It is not affiliated with any company and it doesn't have have commercial intent.

The code is provided AS IS and the developers will not be held responsible for failures in the camera, or any other 
malfunction.

Paradox® is a registered mark. Other brands are owned by their respective owners.

