Setup
get your API key:
- Create a free [macrometa account (https://www.macrometa.com/)
- Create new API Key:
- Log in
- Go to Account
- Click on API keys
- Click on New Api key (Top right corner)
- Give it a key ID i.e. TestKey & click create
- Copy the actual KEY
- Put it into a file that is .gitignored to prevent committing the key
- Add the API key to the config. See code example below.
Get your endpoint URI:
- Log in
- Go to Geo Fabrics
- Select _system
- Select the region closest to your location i.e. Fremont
- Copy the Endpoint URL and add it to the config
Get your custom fabric:
- In the web console, go to Geo Fabrics
- Click “New Geo Fabric” (Top right corner)
- Give it a name
- Select some initial locations. You can add more later.
- Copy the exact fabric name (case-sensitive) and add it to your config