Added ability to import HALO_API_KEY environment variable.

The secret API key is now imported from the environment instead of being hard coded into the package.  The gamertag variable has been renamed to sampleGamertag.
This commit is contained in:
Thomas Bennett
2016-05-05 13:17:12 -07:00
parent 205714cad4
commit 5f0288e32c
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -1 +1,6 @@
# go-halo5-api
go-halo5-api is a wrapper around the Halo5 API as documented at https://developer.haloapi.com.
# Usage
Set your API key as an environment variable
```export HALO_API_KEY="123456789abcdefghi"```