@axeljaeger/gopro-dev-server

1.2.9 • Public • Published

GoPro Dev Server

Enables interactive features of Swagger UI for working with the GoPro HTTP API

NPM version NPM downloads

GoPro cameras provide an HTTP API that is available in OpenAPI format from GoPro Inc. However, you cannot use interactive features of their Redocly as their website cannot connect to your camera.

This tool provides everything needed to interact with your camera using Swagger-UI:

  • A proxy server that allows CORS requests from your browser to the camera.
  • A webserver that serves Swagger-UI and intercepts requests to forward them to your camera.

Usage:

Install the tool using npm:

npm install @axeljaeger/gopro-dev-server

Depending on whether you are connecting the camera via USB or WiFi, the procedure is different:

USB:

  • Obtain the last 3 digits of your camera serial number.
  • Run the tool, providing the serial number
npx gopro-dev-server --usb 123

A browser will open and you can interact with your camera

WiFi: You cannot make the gopro join your home WiFi but you will have to join the camera's own wifi. You will have to enable the Wifi on the camera. This is usually done using bluetooth. I provide a PWA, GoPro Wifi Enabler to do this.

After you joined your camera's wifi, run the tool:

npx gopro-dev-server --wifi

Package Sidebar

Install

npm i @axeljaeger/gopro-dev-server

Weekly Downloads

2

Version

1.2.9

License

MIT

Unpacked Size

387 kB

Total Files

92

Last publish

Collaborators

  • axeljaeger