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

Merged
merged 1 commit into from
Jan 23, 2025

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.
@Gadgetoid Gadgetoid merged commit c41278c into main Jan 23, 2025
2 checks passed
@Gadgetoid
Copy link
Member Author

This still works for me, so I'm rollin' with it!

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