googlevr/poly-sample-web

Name: poly-sample-web

Owner: Google VR

Description: Web sample for Poly API

Created: 2017-11-02 13:51:16.0

Updated: 2018-05-06 14:46:30.0

Pushed: 2018-03-14 02:34:37.0

Homepage: null

Size: 165

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Poly API - Web Sample

Copyright (c) 2017 Google Inc. All rights reserved.

This is a sample project showing how to invoke the Poly API from a web app.

How to run

First, generate an API Key for the Poly API following the instructions in the developer documentation.

Then, enter your API key in each of the HTML files in this sample, replacing the value of the API_KEY variable:

const API_KEY = "*** INSERT YOUR API KEY HERE ***";

When replacing, do not leave the asterisks, replace the entire string by your API Key.

Place the sample files at the root directory of your web server. If you have Python installed, you can use the SimpleHTTPServer module to serve a local directory for testing:

cd /path/to/sample
python -m SimpleHTTPServer 8000

These are the available samples:

License

For license information, refer to the LICENSE file.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.