Sample/example code for how to access the Digital Scout (formerly HSGC or GameCenter) API and to display the resulting box scores.
This code is released under the MIT license. But keep in mind, that is for the source code in this repository and its use and distribution. However, this code doesn't do much without access to the Digital Scout API and data. Access to that API falls under separate agreements per the terms of use at www.digitalscout.com and through your written agreements with Digital Scout, LLC. Contact support@digitalscout.com with questions or for requesting access to the API.
An API client that can be used in a node.js site/application.
- Requires: nodejs, npm
- An appropriate version of npm comes in the nodejs install
- On Windows, you may need to re-log or restart after installation for your
PATH
environment variable to be updated for your console sessions
- Go to the
node
directory in your local copy of the repository - Run
npm install
- Edit
app.js
to include your APIusername
andpassword
node app.js
An API client that can be used in a C# site/application.
- Requires: Visual Studio 2012+
- Open
ApiClient.sln
- Edit
Username
andPassword
at the top ofprogram.cs
with the credentials supplied to you for the API - Build and Run the application
To display the resulting box score retrieved from the API, style as desired.
Or, use the provided widgets. Drop them in an IFRAME
in an existing web site for display of a Digital Scout box score. (Remember, a separate data license is required for use of the widgets.)
See the /widgets
directory for more information.