Unofficial GoPro API Library for Python - connect to GoPro cameras via WiFi.
Project has been updated to support Hero10 Black + OpenGoPro v2 + USB control. Further is needed to support these features:
Project covers a decade worth of camera releases, naturally something might've broken as development focuses on the newer cameras. Hopefully nothing broke.
Acknowledgments to GoPro for the OpenGoPro API spec release.
- @konradit
Hero3..Hero8 (incl. MAX/Fusion/Session) all use WiFi (and some use Bluetooth) for controls, media management, status updates and live preview
Hero9 Black and Hero10 Black have Webcam functionality, and Hero10 Black is officially exposing the API server over USB Ethernet with full camera control capabilities
Hero9 Black requires using an older firmware to get ability to take photos. See the compatibility chart
From PyPi:
pip install goprocam
Git (unstable):
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
Connect your camera to your computer via WiFi (WiFi on the camera must be on!)
from goprocam import GoProCamera, constants
goproCamera = GoProCamera.GoPro()
goproCamera.shoot_video(10)
See examples for examples on how to use this API.
Documentation is available: docs