Commit f738737f authored by Tony Mai's avatar Tony Mai

initla check in

parents
## Contributing:
#### Styleguide:
- run autopep8 before commit
- use functions that are already defined
- try to follow the following structure:
- init functions
- /gp/ call functions
- main control functions (record, mode, tag...)
- media
- metadata/status everything else
- always test your changes with a camera
- python3.6 and newer only!
#### Testing:
#### PR:
MIT License
Copyright (c) 2017 Konrad Iturbe
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# GoPro API for Python
[![GitHub issues](https://img.shields.io/github/issues/konradit/gopro-py-api.svg)](https://github.com/konradit/gopro-py-api/issues) [![Github All Releases](https://img.shields.io/badge/download-gh-red.svg)](https://github.com/KonradIT/gopro-py-api/releases) [![PyPi Version](http://img.shields.io/pypi/v/goprocam.svg)](https://pypi.python.org/pypi/goprocam)
Unofficial GoPro API Library for Python - connect to GoPro cameras via WiFi.
![](http://i.imgur.com/kA0Rf1b.png)
### Compatibility:
- HERO3
- HERO3+
- HERO4 (including HERO Session)
- HERO+
- HERO5 (including HERO5 Session)
- HERO6
- Fusion 1
- HERO7 (Black)
### Installation
From PyPi:
```
pip install goprocam
```
Git (unstable):
```bash
git clone http://github.com/konradit/gopro-py-api
cd gopro-py-api
python setup.py install
```
**Tested on Python 3.6.0** -- **works on Linux and Windows and Mac**
### Quick start:
Connect your camera to your computer via WiFi (WiFi on the camera must be on!)
```python
from goprocam import GoProCamera, constants
goproCamera = GoProCamera.GoPro()
goproCamera.shoot_video(10)
```
### Examples:
See [examples](/examples) for examples on how to use this API.
### Documentation:
Documentation is available: [docs](/docs)
### Video screencap:
* HERO4 Black: https://vimeo.com/209079783
* HERO4 Session: https://vimeo.com/209129019
* HERO3 Black: https://vimeo.com/209181246
* HERO5 Black: https://vimeo.com/235135652
* HERO7 Black: https://www.youtube.com/watch?v=i-X4fPVfoW0
\ No newline at end of file
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name='goprocam',
version='3.0.3',
description='GoPro WiFi API Wrapper for Python - Compatible with HERO3, HERO3+, HERO4, HERO5, HERO+, HERO6',
url='http://github.com/konradit/gopro-py-api',
long_description=long_description,
long_description_content_type="text/markdown",
author='Konrad Iturbe',
author_email='mail@chernowii.com',
license='MIT',
packages=['goprocam'],
zip_safe=False)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment