https://github.com/florianl/pyoscapi
Python API to interact with network devices using the Open Spherical Camera API
https://github.com/florianl/pyoscapi
Last synced: 3 months ago
JSON representation
Python API to interact with network devices using the Open Spherical Camera API
- Host: GitHub
- URL: https://github.com/florianl/pyoscapi
- Owner: florianl
- License: apache-2.0
- Created: 2015-11-17T17:39:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-27T11:32:30.000Z (over 9 years ago)
- Last Synced: 2025-03-19T00:14:50.402Z (3 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pyOSCapi
========Python API to interact with network devices using the [Open Spherical Camera API](https://developers.google.com/streetview/open-spherical-camera/).
Install
=======To install, execute:
```
pip install pyOSCapi
```Documentation
=============### Connect
```python
>>> from pyOSCapi import OSCAPI as OSC
>>> cam = OSC(ip="192.168.0.100", port="80")
>>> cam.connect()
```
The settings to connect differ from manufacturer to manufacturer:* [Bublcam](http://bublcam.com/) `cam = OSC(ip="192.168.0.100", port="80")`
* [RICO THETA](https://theta360.com) `cam = OSC(ip="192.168.1.1", port="80")`### Do Stuff
```python
>>> cam.info()
```
### Close Connection
```python
>>> cam.disconnect()
```
### Run tests$ python setup.py nosetests
License
=======Copyright 2015 - 2016 Florian Lehner
Licensed under the Apache License, Version 2.0: [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)