• Stars
    star
    1,344
  • Rank 34,950 (Top 0.7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Unofficial GoPro API Library for Python - connect to GoPro via WiFi.

GoPro API for Python

GitHub issues Github All Releases PyPi Version

Unofficial GoPro API Library for Python - connect to GoPro cameras via WiFi.

Notice:

Project has been updated to support Hero10 Black + OpenGoPro v2 + USB control. Further is needed to support these features:

  • Python3.8 typing
  • Custom exceptions
  • Integration tests
  • BLE support (using gopro-ble-py)
  • Hero9 (v1.21 & 1.22 fw) / Hero10 (OpenGoPro v2) USB identifier Autodiscovery
  • Stacktraces
  • More robust examples, with boilerplate code ready for use

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

Compatibility:

  • HERO3
  • HERO3+
  • HERO4 (including HERO Session)
  • HERO+
  • HERO5 (including HERO5 Session)
  • HERO6
  • Fusion 1
  • HERO7 (Black)
  • HERO8 Black
  • MAX
  • HERO9 Black
  • HERO10 Black

WiFi vs USB:

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

Installation

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

Quick start:

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)

Examples:

See examples for examples on how to use this API.

Documentation:

Documentation is available: docs

Video screencap:

More Repositories

1

goprowifihack

Unofficial GoPro WiFi API Documentation - HTTP GET requests for commands, status, livestreaming and media query.
2,122
star
2

autoexechack

Autoexec hack is a copilation of hacks for GoPro Cameras, like a GHDK (GoPro Hack Developer Kit).
AGS Script
460
star
3

GoProStream

Tools for handling/displaying GoPro HTTP/UDP stream (Python/Ruby)
Python
352
star
4

gopro-linux

Bash script which helps with post production for GoPro cameras in Linux, can be used as a replacement for GoPro Studio
Shell
330
star
5

CamControl

Open source app to connect with popular action cameras, replacing your vendor's closed source app system.
Kotlin
109
star
6

gopro-firmware

GoPro Firmware research
90
star
7

gopro-ble-py

Python Bluetooth controller for GoPro cameras with BLE connection
Python
86
star
8

parler-py-api

UNOFFICIAL Python API to interface with Parler.com
Python
55
star
9

mmt

Media Management Tool - make importing videos/photos from GoPro and other action cameras/drones a little bit more bearable.
Go
54
star
10

goprohero

A better GoPro app for Android, with Android Wear support, material design, H2/H3/H3+/H4 compatible and lots of features!
Java
49
star
11

gopro-control

GoPro Wifi controller inside the gopro
Shell
41
star
12

hero4hack

Override.sh/cal.txt hack examples and documentation (GoPro HERO4 auto executable)
Shell
39
star
13

GoProDashboard

A Flask webapp to interface with GoPro cameras over wifi.
HTML
34
star
14

MagicLanternGoPro

Magic Lantern for GoPro HERO3 Black / HERO3+ Black / HERO3+ Silver cameras
30
star
15

gopro_fw_dl

Firmware downloader for GoPro cameras (no registration needed)
Python
22
star
16

dotfiles

my dotfiles and other config
Shell
22
star
17

oculus_jailbreak

Research on Jailbreaking Oculus Quest 2
GLSL
22
star
18

gopro-firmware-archive

GoPro Firmware Archive
Python
19
star
19

GoProWirelessPassword

Research into potential vulnerabilities and risks of auto-generated pseudorandom passwords + Bluetooth Exploit.
Python
19
star
20

pebble

do not go gentle into that good night
19
star
21

SmartTheme

Tasker tasks that change apps night/day theme (aka: blackout theme)
19
star
22

gpauto

./gpauto for HERO4/HERO5 (spirtitual successor to autoexec.ash/override.sh/cal.txt) on stock Firmware
18
star
23

HEROPebble

Unofficial GoPro App for Pebble smartwatches
JavaScript
14
star
24

fimi_a3

Reverse engineering the A3 drone drone firmware + camera fw + remote fw
Shell
14
star
25

gopro32

GoPro Anti Lose Guardian device and BLE controller using an ESP32.
13
star
26

gopro-rc

ESP8266 based real Remote Control (RC mode, not APP mode) for GoPro HERO4+ cameras
C++
12
star
27

gopro-herobus-sdk

An SDK to hack the back HERO bus of GoPro cameras.
12
star
28

gopro-upload

Codes to auto upload gopro timelapse to a local folder, to github and other cloud services
Shell
11
star
29

insight-api

NASA InSight Raw Image Python API
Python
11
star
30

gopro-plus-api

experimental.
Python
11
star
31

gopro-modder

The best patcher for GoPro Android app in the galaxy
Shell
10
star
32

wm231

DJI Mavic Air 2 stuff
9
star
33

gopro-rb-api

Unofficial Ruby GoPro API wrapper
Ruby
9
star
34

gopro-udp-stream-android

Java
6
star
35

bereal-timelapse

Generates a timelapse from your BeReal memories
Go
6
star
36

dji-nfz-tracker

Tracking DJI No Fly Zones
Python
6
star
37

pkpass

General purpose pkpass library
Python
5
star
38

TheaterTime

Automation for Theater Mode in Android Wear devices, tested on LG G Watch (W100).
Java
5
star
39

pebble-taskwarrior

A Pebble client for Taskwarrior TODO Manager (syncs with Inthe.AM service!)
JavaScript
4
star
40

insta360

4
star
41

gowifi

Command line shell gopro wifi controller
Shell
4
star
42

konradit.github.io

source code for my website
HTML
4
star
43

hilltrades

Python API wrapper for capitoltrades.com
Python
3
star
44

djiutils

Scripts and utilities for processing media from DJI aircraft.
Shell
3
star
45

slopebuddy

Pebble watchapp for skiing and snowboarding, check snow information from your ski resort.
JavaScript
2
star
46

xiaomi_yi4k

The real deal
AGS Script
1
star
47

gopro-osc

Open Spherical Camera API (OSC - Google) driver for GoPro 1-unit Spherical cameras (eg: Fusion, MAX)
Python
1
star
48

archdots

Script to pair with my Redmi Airdots
Python
1
star
49

bssbctl

Python
1
star