Skip to main content

Accessing webcams via REST API

Project description

Web Cam Access via HTTP REST-API

A library that unified acess to various web cams with integrated HTTP servers.

Installation

pip3 install libhttpcam

Usage

Use createCam to create a camera instance.

from libhttpcam import createCam

model = 'foscam'
ip = '10.0.0.30'
cam, port = createCam('foscam', ip)  # use model's default port

Then set credentials for the camera:

user = 'me'
password = 'youllneverguess'
cam.set_credentials(user, password)

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

libhttpcam-0.0.5.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

libhttpcam-0.0.5-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page