Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
crawler
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Project - Tarifs Crawler & API
crawler
Commits
fc69800a
Commit
fc69800a
authored
May 12, 2025
by
Marco Schmiedel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ccf805f2
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
134 additions
and
104 deletions
+134
-104
AWSConfig.py
config/AWSConfig.py
+1
-1
MauiConfig.py
config/MauiConfig.py
+9
-0
WebManager.py
manager/WebManager.py
+1
-1
EeccxRouter.py
routes/EeccxRouter.py
+122
-101
HealtCheckRouter.py
routes/HealtCheckRouter.py
+1
-1
No files found.
config/AWSConfig.py
View file @
fc69800a
AWS_ACCESS_KEY_ID
=
"AKIATXO2FKVK3BSS3DMT"
AWS_ACCESS_KEY_ID
=
"AKIATXO2FKVK3BSS3DMT"
AWS_SECRET_ACCESS_KEY
=
"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"
AWS_SECRET_ACCESS_KEY
=
"u6CvzjBJCo6qiL0zj8txOVGRUDlsspyhfLU/YK+Q"
REGION
=
"eu-central-1"
REGION
=
"eu-central-1"
BUCKET_NAME
=
"
freenetflyer
"
BUCKET_NAME
=
"
compactcdn.backoffice.online
"
config/MauiConfig.py
View file @
fc69800a
MAUI_USERNAME
=
"28009594-198"
MAUI_USERNAME
=
"28009594-198"
MAUI_PASSWORD
=
"8v#5YeeQyh"
MAUI_PASSWORD
=
"8v#5YeeQyh"
MAUI_AUTHCODE
=
"2D3JJNG3WWGSWRDI5KRW2MZKL3NJEZXJ"
MAUI_AUTHCODE
=
"2D3JJNG3WWGSWRDI5KRW2MZKL3NJEZXJ"
EECCX_TOKEN_URL
=
"https://sts.md.de/v1/oidc/token"
EECCX_API_URL
=
"https://partner-api.md.de/vertragserfassung/ftpOption2Pci.php"
EECCX_CLIENT_ID
=
"8VyjbQZyTVdx2T2UO6mA3ZTEeiodHcp-"
EECCX_CLIENT_SECRET
=
"FTE3y3Hj3TXeYrR8JbbO9yRRJ5ZGmPPTHH4HpyLFd9_X6wOx"
EECCX_CF_CLIENT_ID
=
"e42d165bde7363f8478a157b57425fd5.access"
EECCX_CF_CLIENT_SECRET
=
"de141ba4a6fbf9c29f51ba86fce9e81d3479797ff010a7ba43cde01977eac565"
EECCX_HDL_NR
=
28009594
EECCX_PROV_HDL_NR
=
28009594
manager/WebManager.py
View file @
fc69800a
...
@@ -61,7 +61,7 @@ def _require_token():
...
@@ -61,7 +61,7 @@ def _require_token():
token
=
request
.
args
.
get
(
"token"
)
token
=
request
.
args
.
get
(
"token"
)
if
token
!=
TOKEN_VALUE
:
if
token
!=
TOKEN_VALUE
:
return
(
return
(
jsonify
({
"
status"
:
"ERROR"
,
"
message"
:
"Please enter a valid token."
}),
jsonify
({
"message"
:
"Please enter a valid token."
}),
401
,
401
,
)
)
...
...
routes/EeccxRouter.py
View file @
fc69800a
This diff is collapsed.
Click to expand it.
routes/HealtCheckRouter.py
View file @
fc69800a
...
@@ -15,4 +15,4 @@ def index():
...
@@ -15,4 +15,4 @@ def index():
GET /
GET /
Liefert einen einfachen JSON-Status.
Liefert einen einfachen JSON-Status.
"""
"""
return
jsonify
({
"
status"
:
"ok"
,
"
message"
:
"The API is working."
})
return
jsonify
({
"message"
:
"The API is working."
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment