Skip to content

Commit

Permalink
Make note of the fact that the API needs to be subscribed to.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-all committed Jun 19, 2021
1 parent f7d6cf8 commit 2843dce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ it will do anything.
The integration can be added from the Integrations configuration screen.

API keys can be obtained by registering on the
[Metlink Developer Portal](https://opendata.metlink.org.nz/).
[Metlink Developer Portal](https://opendata.metlink.org.nz/). Be sure to subscribe to the "Metlink Open Data API". Currently this is the only API they offer, and is free, but is still unsubscribed by default.

If you prefer to configure using yaml instead of the UI, add something like
the following to your `config/configuration.yaml`:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/metlink/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"issue_tracker": "https://github.com/make-all/metlink-nz/issues",
"name": "Metlink Wellington Transport",
"requirements": ["isodate==0.6.0"],
"version": "1.0.0"
"version": "1.0.1"
}
2 changes: 1 addition & 1 deletion custom_components/metlink/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"config": {
"error": {
"auth": "The api key provided is not valid."
"auth": "The api key provided is not valid. Check you have subscribed to the Metlink Open Data API."
},
"step": {
"user": {
Expand Down

0 comments on commit 2843dce

Please sign in to comment.