Skip to content

feature: adding aggregations#39

Merged
lorenzo-solcast merged 2 commits into
Solcast:mainfrom
lorenzo-solcast:feature/aggs
Jul 10, 2024
Merged

feature: adding aggregations#39
lorenzo-solcast merged 2 commits into
Solcast:mainfrom
lorenzo-solcast:feature/aggs

Conversation

@lorenzo-solcast

Copy link
Copy Markdown
Contributor

Adding a module solcast.aggregations to query the API for live/forecast aggregations. It has no test so far as we are yet to expose unmetered aggregations.

@lorenzo-solcast lorenzo-solcast added the enhancement New feature or request label Jul 9, 2024

@michaelf-solcast michaelf-solcast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there an endpoint that lists the collections and aggregations available to the user? It can be a challenge with aggs to work out what collection_id and aggregation_id to use.

@lorenzo-solcast

Copy link
Copy Markdown
Contributor Author

there is but is not a public API (yet). Suggest we don't do not add until it is exposed in the API docs.

@michaelf-solcast michaelf-solcast left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also need to add to the list of available modules in index.md.

Comment thread solcast/__init__.py Outdated
Comment thread solcast/aggregations.py Outdated
@lorenzo-solcast lorenzo-solcast merged commit 348eebe into Solcast:main Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants