Add ENTSO-E "Day Ahead Pricing" tariff provider (#9794)

This commit is contained in:
duck 2023-10-03 11:04:53 +01:00 • committed by GitHub
parent 5bdf309d8a
commit 1b8cb72476
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 682 additions and 54 deletions

View file

@ -10,6 +10,7 @@ var (
FormContent = "application/x-www-form-urlencoded"
JSONContent = "application/json"
PlainContent = "text/plain"
XMLContent = "application/xml"
// URLEncoding specifies application/x-www-form-urlencoded
URLEncoding = map[string]string{"Content-Type": FormContent}
@ -24,6 +25,17 @@ var (
AcceptJSON = map[string]string{
"Accept": JSONContent,
}
// XMLEncoding specifies application/xml
XMLEncoding = map[string]string{
"Content-Type": XMLContent,
"Accept": XMLContent,
}
// AcceptXML accepting application/xml
AcceptXML = map[string]string{
"Accept": XMLContent,
}
)
// StatusError indicates unsuccessful http response