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

Examples: Agile pricing: Get API endpoint dynamically. #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Gadgetoid
Copy link
Member

@Gadgetoid Gadgetoid commented Jan 6, 2025

Looks like the hard-coded API endpoint has expired, so I added an option to get it dynamically.

There's now a REGION_CODE const, too, since prices (may?) vary by region.

Edit: This could also be an issue with Octopus https://www.reddit.com/r/OctopusEnergy/comments/1hrgkll/api_issues/

Looks like the hard-coded API endpoint has expired, so I added an
option to get it dynamically.

There's now a REGION_CODE const, too, since prices (may?) vary by
region.
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.

1 participant