swingbot-licensee-sdk
v1.0.24
Published
Swingbot Licensee SDK for uploading videos
Downloads
88
Readme
Swingbot Licensee SDK
The Swingbot Licensee SDK is a Javascript library that allows a Licensee to upload and process videos with Swingbot Automated Swing Analysis system.
To get an API Key for the system, please contact [email protected] or visit http://www.swingbot.com for more details.
You can install this via the script tag in your HTML page, or via npm.
Installation via npm
npm install swingbot-licensee-sdk --saveUploading a Video for Processing
import uploadVideo from 'swingbot-licensee-sdk';
uploadVideo(file, email, processType, licenseeCampaignId, apiKey)
.then(result => console.log(result))
.catch(err => console.log(e));Get Results from a Video Processed
import getAnalysisById from 'swingbot-licensee-sdk';
getAnalysisById(<id>)
.then(results => {
// do stuff with results.
}.catch(e => e);