openclimatefix / Elexonpy

Python package wrapper around Elexon api
MIT License
12 stars 4 forks source link

Add Elexon API integration for ABUC and ABUC Stream datasets #8

Closed 14Richa closed 4 months ago

14Richa commented 4 months ago

Pull Request

Description

This pull request introduces a new class Datasets to interact with the Elexon API, specifically to fetch data from the ABUC and ABUC Stream datasets.

Fixes #7

Checklist:

peterdudfield commented 4 months ago

Copy hook tests, for example - .github/workflows/pytest.yaml

name: Python package tests

on:
  push:
  pull_request:
    types: [opened, synchronize, reopened]
  schedule:
    - cron: "0 12 * * 1"
  pull_request_target:
    types: [opened, synchronize, reopened, ready_for_review]
jobs:
  call-run-python-tests:
    uses: openclimatefix/.github/.github/workflows/python-test.yml@main
    with:
      # pytest-cov looks at this folder
      pytest_cov_dir: "pyElexon"
      python-version: "['3.10','3.11']"