Skip to main content

Public client API for the flexible energy trading market GLocalFlex.

Project description

GLocalFlexTrade Public API

Public client API for the flexible energy trading market GLocalFlex. Trade energy or offer flexible loads to the European energy market.

Release Build status codecov Commit activity License

Getting started with GLocalFlexTrade

Basic Example

from flxtrd import FlexAPIClient
from flxtrd import AuthPlugin


def main():

    API_BASE_URL = "localhost"

    client = FlexAPIClient(base_url=API_BASE_URL)
    client.add_plugin(AuthPlugin(app_token="secret"))

    response = client.make_request(method="POST", endpoint="/user/login")
    print(response)


if __name__ == "__main__":
        main()

Development

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flxtrd-0.0.4.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

flxtrd-0.0.4-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page