Update README.md

This commit is contained in:
Christopher Woodall
2023-05-14 18:07:09 -05:00
parent ce732fe860
commit a984d9bcaa

View File

@@ -37,11 +37,11 @@ Make an account at [**Space Track**](https://space-track.org) save username and
Create an account at [**N2YO**](https://n2yo.com) and save API key.
Update `main.go` to have proper credentials
```
os.Setenv("SPACE_TRACK_USERNAME", "username")
os.Setenv("SPACE_TRACK_PASSWORD", "password")
os.Setenv("N2YO_API_KEY", "api-key")
The CLI will prompt for both Space Track and N2YO credentials if none are present in your environmental variables. To export your credentials enter the following commands:
```bash
$ export SPACE_TRACK_USERNAME="YOUR_USER_NAME"
$ export SPACE_TRACK_PASSWORD="YOUR_PASSWORD"
$ export N2YO_API_KEY="YOUR_API_KEY"
```
To build from source, you will need Go installed.