{"id":40364542,"url":"https://github.com/rhawiz/lilac-python-client","last_synced_at":"2026-01-20T10:34:46.381Z","repository":{"id":87458534,"uuid":"280470778","full_name":"rhawiz/lilac-python-client","owner":"rhawiz","description":"Auto-generated python client for lilac energy API using the swagger doc.","archived":false,"fork":false,"pushed_at":"2020-07-17T16:19:48.000Z","size":1893,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-01-28T16:06:49.608Z","etag":null,"topics":["api","api-client","client","energy","lilac","lilac-energy","lilacenergy","python"],"latest_commit_sha":null,"homepage":"https://sprod1.lilacfdm.com/api/swagger/index.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhawiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-07-17T16:16:09.000Z","updated_at":"2020-07-17T16:35:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"30072a75-3680-4047-a662-44eac6f1fcd6","html_url":"https://github.com/rhawiz/lilac-python-client","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"1eec0618fbdb68bc2163b5660b2ac993c10facf7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhawiz/lilac-python-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhawiz%2Flilac-python-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhawiz%2Flilac-python-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhawiz%2Flilac-python-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhawiz%2Flilac-python-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhawiz","download_url":"https://codeload.github.com/rhawiz/lilac-python-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhawiz%2Flilac-python-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28601913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T09:39:28.479Z","status":"ssl_error","status_checked_at":"2026-01-20T09:38:10.511Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","client","energy","lilac","lilac-energy","lilacenergy","python"],"created_at":"2026-01-20T10:34:45.692Z","updated_at":"2026-01-20T10:34:46.372Z","avatar_url":"https://github.com/rhawiz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swagger-client\nNo description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n\nThis Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:\n\n- API version: v1\n- Package version: 1.0.0\n- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen\n\n## Requirements.\n\nPython 2.7 and 3.4+\n\n## Installation \u0026 Usage\n### pip install\n\nIf the python package is hosted on Github, you can install directly from Github\n\n```sh\npip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git\n```\n(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)\n\nThen import the package:\n```python\nimport swagger_client \n```\n\n### Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install --user\n```\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n```python\nimport swagger_client\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\nfrom __future__ import print_function\nimport time\nimport swagger_client\nfrom swagger_client.rest import ApiException\nfrom pprint import pprint\n\n# Configure API key authorization: apikey-v1\nconfiguration = swagger_client.Configuration()\nconfiguration.api_key['Authorization'] = 'YOUR_API_KEY'\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['Authorization'] = 'Bearer'\n\n# create an instance of the API class\napi_instance = swagger_client.CurveSummaryApi(swagger_client.ApiClient(configuration))\ncurve_id = 56 # int | \nforecast_date = '2013-10-20T19:20:30+01:00' # datetime | \nmin_value_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmax_value_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\n\ntry:\n    api_response = api_instance.v1_curve_forecast_curve_id_forecast_date_get(curve_id, forecast_date, min_value_date=min_value_date, max_value_date=max_value_date)\n    pprint(api_response)\nexcept ApiException as e:\n    print(\"Exception when calling CurveSummaryApi-\u003ev1_curve_forecast_curve_id_forecast_date_get: %s\\n\" % e)\n\n# Configure API key authorization: apikey-v1\nconfiguration = swagger_client.Configuration()\nconfiguration.api_key['Authorization'] = 'YOUR_API_KEY'\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['Authorization'] = 'Bearer'\n\n# create an instance of the API class\napi_instance = swagger_client.CurveSummaryApi(swagger_client.ApiClient(configuration))\ncurve_id = 56 # int | \nscenario_id = 56 # int |  (optional)\nmin_value_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmax_value_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmin_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmax_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\n\ntry:\n    api_response = api_instance.v1_curve_forecast_list_curve_id_get(curve_id, scenario_id=scenario_id, min_value_date=min_value_date, max_value_date=max_value_date, min_forecast_date=min_forecast_date, max_forecast_date=max_forecast_date)\n    pprint(api_response)\nexcept ApiException as e:\n    print(\"Exception when calling CurveSummaryApi-\u003ev1_curve_forecast_list_curve_id_get: %s\\n\" % e)\n\n# Configure API key authorization: apikey-v1\nconfiguration = swagger_client.Configuration()\nconfiguration.api_key['Authorization'] = 'YOUR_API_KEY'\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['Authorization'] = 'Bearer'\n\n# create an instance of the API class\napi_instance = swagger_client.CurveSummaryApi(swagger_client.ApiClient(configuration))\ncurve_id = 56 # int | \nmin_value_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmax_value_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmin_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmax_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\n\ntry:\n    api_response = api_instance.v1_curve_scenario_curve_id_get(curve_id, min_value_date=min_value_date, max_value_date=max_value_date, min_forecast_date=min_forecast_date, max_forecast_date=max_forecast_date)\n    pprint(api_response)\nexcept ApiException as e:\n    print(\"Exception when calling CurveSummaryApi-\u003ev1_curve_scenario_curve_id_get: %s\\n\" % e)\n\n# Configure API key authorization: apikey-v1\nconfiguration = swagger_client.Configuration()\nconfiguration.api_key['Authorization'] = 'YOUR_API_KEY'\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['Authorization'] = 'Bearer'\n\n# create an instance of the API class\napi_instance = swagger_client.CurveSummaryApi(swagger_client.ApiClient(configuration))\ncurve_id = 56 # int | \nvalue_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmin_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmax_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\n\ntry:\n    api_response = api_instance.v1_curve_summary_forecasts_curve_id_get(curve_id, value_date=value_date, min_forecast_date=min_forecast_date, max_forecast_date=max_forecast_date)\n    pprint(api_response)\nexcept ApiException as e:\n    print(\"Exception when calling CurveSummaryApi-\u003ev1_curve_summary_forecasts_curve_id_get: %s\\n\" % e)\n\n# Configure API key authorization: apikey-v1\nconfiguration = swagger_client.Configuration()\nconfiguration.api_key['Authorization'] = 'YOUR_API_KEY'\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['Authorization'] = 'Bearer'\n\n# create an instance of the API class\napi_instance = swagger_client.CurveSummaryApi(swagger_client.ApiClient(configuration))\ncurve_id = 56 # int | \nmin_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\nmax_forecast_date = '2013-10-20T19:20:30+01:00' # datetime |  (optional)\n\ntry:\n    api_response = api_instance.v1_curve_summary_values_curve_id_get(curve_id, min_forecast_date=min_forecast_date, max_forecast_date=max_forecast_date)\n    pprint(api_response)\nexcept ApiException as e:\n    print(\"Exception when calling CurveSummaryApi-\u003ev1_curve_summary_values_curve_id_get: %s\\n\" % e)\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://sprod1.lilacfdm.com/api*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*CurveSummaryApi* | [**v1_curve_forecast_curve_id_forecast_date_get**](docs/CurveSummaryApi.md#v1_curve_forecast_curve_id_forecast_date_get) | **GET** /v1/CurveForecast/{CurveID}/{ForecastDate} | \n*CurveSummaryApi* | [**v1_curve_forecast_list_curve_id_get**](docs/CurveSummaryApi.md#v1_curve_forecast_list_curve_id_get) | **GET** /v1/CurveForecastList/{CurveID} | \n*CurveSummaryApi* | [**v1_curve_scenario_curve_id_get**](docs/CurveSummaryApi.md#v1_curve_scenario_curve_id_get) | **GET** /v1/CurveScenario/{CurveID} | \n*CurveSummaryApi* | [**v1_curve_summary_forecasts_curve_id_get**](docs/CurveSummaryApi.md#v1_curve_summary_forecasts_curve_id_get) | **GET** /v1/CurveSummary/Forecasts/{CurveID} | \n*CurveSummaryApi* | [**v1_curve_summary_values_curve_id_get**](docs/CurveSummaryApi.md#v1_curve_summary_values_curve_id_get) | **GET** /v1/CurveSummary/Values/{CurveID} | \n*CurveValuesApi* | [**v1_curve_values_aggregated_curve_id_result_period_type_result_period_length_get**](docs/CurveValuesApi.md#v1_curve_values_aggregated_curve_id_result_period_type_result_period_length_get) | **GET** /v1/CurveValues/Aggregated/{CurveID}/{ResultPeriodType}/{ResultPeriodLength} | \n*CurveValuesApi* | [**v1_curve_values_curve_id_get**](docs/CurveValuesApi.md#v1_curve_values_curve_id_get) | **GET** /v1/CurveValues/{CurveID} | \n*CurveValuesApi* | [**v1_curve_values_forecast_curve_id_scenario_id_forecast_date_get**](docs/CurveValuesApi.md#v1_curve_values_forecast_curve_id_scenario_id_forecast_date_get) | **GET** /v1/CurveValues/Forecast/{CurveID}/{ScenarioID}/{ForecastDate} | \n*CurveValuesApi* | [**v1_curve_values_latest_forecast_curve_id_scenario_id_get**](docs/CurveValuesApi.md#v1_curve_values_latest_forecast_curve_id_scenario_id_get) | **GET** /v1/CurveValues/LatestForecast/{CurveID}/{ScenarioID} | \n*FixturesApi* | [**v1_fixtures_fixture_data_fixture_type_get**](docs/FixturesApi.md#v1_fixtures_fixture_data_fixture_type_get) | **GET** /v1/Fixtures/FixtureData/{FixtureType} | \n*FixturesApi* | [**v1_fixtures_fixture_field_fixture_type_get**](docs/FixturesApi.md#v1_fixtures_fixture_field_fixture_type_get) | **GET** /v1/Fixtures/FixtureField/{FixtureType} | \n*FixturesApi* | [**v1_fixtures_fixture_field_value_fixture_type_field_name_get**](docs/FixturesApi.md#v1_fixtures_fixture_field_value_fixture_type_field_name_get) | **GET** /v1/Fixtures/FixtureFieldValue/{FixtureType}/{FieldName} | \n*FixturesApi* | [**v1_fixtures_fixture_types_get**](docs/FixturesApi.md#v1_fixtures_fixture_types_get) | **GET** /v1/Fixtures/FixtureTypes | \n*MetadataApi* | [**v1_metadata_curve_id_get**](docs/MetadataApi.md#v1_metadata_curve_id_get) | **GET** /v1/Metadata/{CurveID} | \n*MetadataApi* | [**v1_metadata_register_curve_tag_post**](docs/MetadataApi.md#v1_metadata_register_curve_tag_post) | **POST** /v1/Metadata/RegisterCurveTag | \n*MetadataApi* | [**v1_metadata_register_tag_post**](docs/MetadataApi.md#v1_metadata_register_tag_post) | **POST** /v1/Metadata/RegisterTag | \n*MetadataApi* | [**v1_metadata_search_get**](docs/MetadataApi.md#v1_metadata_search_get) | **GET** /v1/Metadata/Search | \n*MetadataApi* | [**v1_metadata_tag_types_get**](docs/MetadataApi.md#v1_metadata_tag_types_get) | **GET** /v1/Metadata/TagTypes | \n*ReferenceDataApi* | [**v1_period_types_get**](docs/ReferenceDataApi.md#v1_period_types_get) | **GET** /v1/PeriodTypes | \n*ReferenceDataApi* | [**v1_timezones_get**](docs/ReferenceDataApi.md#v1_timezones_get) | **GET** /v1/Timezones | \n*RefineryUnitsAndTurnaroundsApi* | [**v1_iir_ref_turnaround_daily_data_get**](docs/RefineryUnitsAndTurnaroundsApi.md#v1_iir_ref_turnaround_daily_data_get) | **GET** /v1/IIR/RefTurnaroundDailyData | \n*RefineryUnitsAndTurnaroundsApi* | [**v1_iir_ref_turnaround_data_get**](docs/RefineryUnitsAndTurnaroundsApi.md#v1_iir_ref_turnaround_data_get) | **GET** /v1/IIR/RefTurnaroundData | \n*RefineryUnitsAndTurnaroundsApi* | [**v1_iir_ref_turnaround_field_get**](docs/RefineryUnitsAndTurnaroundsApi.md#v1_iir_ref_turnaround_field_get) | **GET** /v1/IIR/RefTurnaroundField | \n*RefineryUnitsAndTurnaroundsApi* | [**v1_iir_ref_turnaround_field_value_field_name_get**](docs/RefineryUnitsAndTurnaroundsApi.md#v1_iir_ref_turnaround_field_value_field_name_get) | **GET** /v1/IIR/RefTurnaroundFieldValue/{FieldName} | \n*RefineryUnitsAndTurnaroundsApi* | [**v1_iir_ref_unit_data_get**](docs/RefineryUnitsAndTurnaroundsApi.md#v1_iir_ref_unit_data_get) | **GET** /v1/IIR/RefUnitData | \n*RefineryUnitsAndTurnaroundsApi* | [**v1_iir_ref_unit_field_get**](docs/RefineryUnitsAndTurnaroundsApi.md#v1_iir_ref_unit_field_get) | **GET** /v1/IIR/RefUnitField | \n*RefineryUnitsAndTurnaroundsApi* | [**v1_iir_ref_unit_field_value_field_name_get**](docs/RefineryUnitsAndTurnaroundsApi.md#v1_iir_ref_unit_field_value_field_name_get) | **GET** /v1/IIR/RefUnitFieldValue/{FieldName} | \n*TradeFlowsApi* | [**v1_flows_flow_data_flow_type_get**](docs/TradeFlowsApi.md#v1_flows_flow_data_flow_type_get) | **GET** /v1/Flows/FlowData/{FlowType} | \n*TradeFlowsApi* | [**v1_flows_flow_field_flow_type_get**](docs/TradeFlowsApi.md#v1_flows_flow_field_flow_type_get) | **GET** /v1/Flows/FlowField/{FlowType} | \n*TradeFlowsApi* | [**v1_flows_flow_field_value_flow_type_field_name_get**](docs/TradeFlowsApi.md#v1_flows_flow_field_value_flow_type_field_name_get) | **GET** /v1/Flows/FlowFieldValue/{FlowType}/{FieldName} | \n*TradeFlowsApi* | [**v1_flows_flow_types_get**](docs/TradeFlowsApi.md#v1_flows_flow_types_get) | **GET** /v1/Flows/FlowTypes | \n*ValidationApi* | [**v1_validation_status_data_data_type_get**](docs/ValidationApi.md#v1_validation_status_data_data_type_get) | **GET** /v1/ValidationStatus/Data/{DataType} | \n*ValidationApi* | [**v1_validation_status_data_field_data_type_get**](docs/ValidationApi.md#v1_validation_status_data_field_data_type_get) | **GET** /v1/ValidationStatus/DataField/{DataType} | \n*ValidationApi* | [**v1_validation_status_data_field_value_data_type_field_name_get**](docs/ValidationApi.md#v1_validation_status_data_field_value_data_type_field_name_get) | **GET** /v1/ValidationStatus/DataFieldValue/{DataType}/{FieldName} | \n*ValidationApi* | [**v1_validation_status_data_types_get**](docs/ValidationApi.md#v1_validation_status_data_types_get) | **GET** /v1/ValidationStatus/DataTypes | \n\n## Documentation For Models\n\n - [FDMAPIDTOV1CrudesCrudesGrade](docs/FDMAPIDTOV1CrudesCrudesGrade.md)\n - [FDMAPIDTOV1CrudesCrudesMeta](docs/FDMAPIDTOV1CrudesCrudesMeta.md)\n - [FDMAPIDTOV1CrudesCrudesRefineryMeta](docs/FDMAPIDTOV1CrudesCrudesRefineryMeta.md)\n - [FDMAPIDTOV1CrudesCrudesRefineryProduct](docs/FDMAPIDTOV1CrudesCrudesRefineryProduct.md)\n - [FDMAPIDTOV1CurveAggregatedValue](docs/FDMAPIDTOV1CurveAggregatedValue.md)\n - [FDMAPIDTOV1CurveForecast](docs/FDMAPIDTOV1CurveForecast.md)\n - [FDMAPIDTOV1CurveForecastScenario](docs/FDMAPIDTOV1CurveForecastScenario.md)\n - [FDMAPIDTOV1CurveForecastSummary](docs/FDMAPIDTOV1CurveForecastSummary.md)\n - [FDMAPIDTOV1CurveImport](docs/FDMAPIDTOV1CurveImport.md)\n - [FDMAPIDTOV1CurveMetadata](docs/FDMAPIDTOV1CurveMetadata.md)\n - [FDMAPIDTOV1CurveMetadataTag](docs/FDMAPIDTOV1CurveMetadataTag.md)\n - [FDMAPIDTOV1CurveScenarioForecastValue](docs/FDMAPIDTOV1CurveScenarioForecastValue.md)\n - [FDMAPIDTOV1CurveValue](docs/FDMAPIDTOV1CurveValue.md)\n - [FDMAPIDTOV1CurveValuesSummary](docs/FDMAPIDTOV1CurveValuesSummary.md)\n - [FDMAPIDTOV1DataFieldValueItems](docs/FDMAPIDTOV1DataFieldValueItems.md)\n - [FDMAPIDTOV1DataTypeFieldValue](docs/FDMAPIDTOV1DataTypeFieldValue.md)\n - [FDMAPIDTOV1FixturesFixtureData](docs/FDMAPIDTOV1FixturesFixtureData.md)\n - [FDMAPIDTOV1FixturesFixtureField](docs/FDMAPIDTOV1FixturesFixtureField.md)\n - [FDMAPIDTOV1FlowsFlowData](docs/FDMAPIDTOV1FlowsFlowData.md)\n - [FDMAPIDTOV1FlowsFlowField](docs/FDMAPIDTOV1FlowsFlowField.md)\n - [FDMAPIDTOV1IIRIIRData](docs/FDMAPIDTOV1IIRIIRData.md)\n - [FDMAPIDTOV1IIRIIRField](docs/FDMAPIDTOV1IIRIIRField.md)\n - [FDMAPIDTOV1PropCurveDefinition](docs/FDMAPIDTOV1PropCurveDefinition.md)\n - [FDMAPIDTOV1TabularDataDataTypeField](docs/FDMAPIDTOV1TabularDataDataTypeField.md)\n - [FDMAPIDTOV1TabularDataTabularData](docs/FDMAPIDTOV1TabularDataTabularData.md)\n\n## Documentation For Authorization\n\n\n## apikey-v1\n\n- **Type**: API key\n- **API key parameter name**: Authorization\n- **Location**: HTTP header\n\n\n## Author\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhawiz%2Flilac-python-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhawiz%2Flilac-python-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhawiz%2Flilac-python-client/lists"}