GoPro Camera - Python module made easy.
Project description
At the moment all testings are conducted with the newest version of the GoPro Hero 4.
Install
Easy install with Github or PyPi (Soon)
Installing the latest version from GitHub.
`bash $ git clone https://github.com/DenisCarriere/gopro.git $ cd gopro $ python setup.py install `
Installing the tested version from PyPi.
`bash $ sudo pip install gopro `
Quickstart
Once the installation is complete you are ready to start! :)
Launch your favorite ipython or standard python
` >>> import gopro >>> camera = gopro.camera() >>> camera.photo() `
Camera modes
Makes it easy to cycle threw each available modes.
`python camera.mode('burst') camera.mode('photo') camera.mode('timelapse') camera.mode('video') `
Locate (Beep! Beep!)
Can’t find your device?? Call the locate function and it will Beep endlessly until there is no more battery.
To turn off the beeps, simply press the mode button on the device or use the off as a parameter.
`python camera.locate('on') camera.locate('off') `
Sleep
The camera will turn itself off, the Wi-Fi will still be active.
At the moment there is no working commands to turn the device back on.
To reactivate the device, press the mode button.
`python camera.sleep() `
Delete Photos
Might be useful to dump all those photos from your GoPro.
Warning once you delete photos/videos you cannot retrieve them back.
The erase function does the same as the delete all.
`python camera.erase() camera.delete_all() camera.delete_last() `
Debug
Want to explore & troubleshoot the device a bit, you can retrieve the following properties from your device.
` camera.info camera.commands `
Contributors
A big thanks to all the people who have helped contribute!
To be a contributor, please message me with requests on [Twitter](https://twitter.com/DenisCarriere)/[Github issues](https://github.com/DenisCarriere/gopro/issues)
@[KonradIT](https://github.com/KonradIT)
License
The MIT License (MIT)
Copyright (c) 2014-2015 Denis Carriere
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gopro-0.0.1.tar.gz
.
File metadata
- Download URL: gopro-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1476fe63e4a613433c128d6859ac2b3315cfc6eb7408e6434277fcb9bed3d227 |
|
MD5 | d5b6118f1cdb92f43195b5a69e6dfd63 |
|
BLAKE2b-256 | d63a0a2adcbaa02f048571ba5bb2e7ee49d91e79aafed32b53b4d33f265d4b28 |
File details
Details for the file gopro-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: gopro-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73159f98ec9f6ff72babfa670736d3cc2e0266bce34141f8de4deab2cabc1189 |
|
MD5 | 89034cb304d10b622b9bf3dffc6dfd6e |
|
BLAKE2b-256 | c6cb2d4fdc1f142b649795e208cb33e2850cb9e97c27e6f535b7bc89082ebf0d |