swagger_client.SOSOPricesApi

July 10, 2024 ยท View on GitHub

All URIs are relative to https://data.elexon.co.uk/bmrs/api/v1

MethodHTTP requestDescription
soso_prices_getGET /soso/pricesSO-SO prices (SOSO)

soso_prices_get

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesMiscSoSoPrices soso_prices_get(_from, to, format=format)

SO-SO prices (SOSO)

This endpoint provides system operator to system operator prices data. It can be filtered by start time. This API endpoint has a maximum range of 24 hours.

Example

from __future__ import print_function
import time
import elexonpy
from elexonpy.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = elexonpy.SOSOPricesApi()
_from = '2013-10-20T19:20:30+01:00'  # datetime | 
to = '2013-10-20T19:20:30+01:00'  # datetime | 
format = 'format_example'  # str | Response data format. Use json/xml to include metadata. (optional)

try:
    # SO-SO prices (SOSO)
    api_response = api_instance.soso_prices_get(_from, to, format=format)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SOSOPricesApi->soso_prices_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
_fromdatetime
todatetime
formatstrResponse data format. Use json/xml to include metadata.[optional]

Return type

InsightsApiModelsResponsesResponseWithMetadata1InsightsApiModelsResponsesMiscSoSoPrices

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]