Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter fix/ust ist #1096

Merged
merged 15 commits into from
Mar 28, 2024
Merged

Adapter fix/ust ist #1096

merged 15 commits into from
Mar 28, 2024

Conversation

majesticio
Copy link
Contributor

This adapter data URL https://api.ust.is/aq/a/getLatest does not appear to return data anymore. This has been replaced with https://api.ust.is/aq/a/getDate/date/${yesterday}. The URL seem to only work up till the day before the current date unfortunately but does return measurements. Endpoints can be investigated athttps://api.ust.is/aq/a.

It has also been updated to over-fetch measurements to help with coverage.

@majesticio
Copy link
Contributor Author

closes #1095

Copy link
Collaborator

@caparker caparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I removed a log line from the top of the file where you were logging out the value of yesterday. If that is something you wanted to leave in there then just add more to the log, like

log.debug('Showing value of yesterday', yesterday) 

Or something along those lines. Otherwise I will assume it was just for dev purposes and you meant to remove it.

@caparker caparker merged commit 2c1a363 into main Mar 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants