Skip to main content

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)

License

The MIT License (MIT)

Copyright (c) 2014-2015 Denis Carriere

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

gopro-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

gopro-0.0.1-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2 Python 3

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

Hashes for gopro-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1476fe63e4a613433c128d6859ac2b3315cfc6eb7408e6434277fcb9bed3d227
MD5 d5b6118f1cdb92f43195b5a69e6dfd63
BLAKE2b-256 d63a0a2adcbaa02f048571ba5bb2e7ee49d91e79aafed32b53b4d33f265d4b28

See more details on using hashes here.

File details

Details for the file gopro-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for gopro-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 73159f98ec9f6ff72babfa670736d3cc2e0266bce34141f8de4deab2cabc1189
MD5 89034cb304d10b622b9bf3dffc6dfd6e
BLAKE2b-256 c6cb2d4fdc1f142b649795e208cb33e2850cb9e97c27e6f535b7bc89082ebf0d

See more details on using hashes here.

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