Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metro #96

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Metro #96

wants to merge 2 commits into from

Conversation

rudgal
Copy link

@rudgal rudgal commented Jun 14, 2023

Hi there,

Just added METRO to the stores...
They list many branded products and also got their own brands, sometimes even discount brands from others such as S-Budget.
Probably not the majority of people do their groceries there, but maybe still interesting in terms of price comparison and in general, just to see how wholesale markets calculate...

const METRO_WEBSHOP_BASE_URL = "https://shop.metro.at/shop/1";
const METRO_API_BASE_RL = "https://api.shop.metro.at/2.0";
const METRO_API_USER = "[email protected]";
const METRO_API_PASSWORD = "Welcome1";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woher kommen username und password? Ich fürchte das kann ich aus rechtlichen Gründen nicht mergen.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das sind jene Credentials, welche die Metro App verwendet, um alle Produkte zu fetchen (selbst dann wenn man als User noch gar nicht eingeloggt ist).
PW is immer das gleiche, und die E-Mail Adresse bezeichnet eine spezifische Filiale.

Kann prinzipiell jeder, der sich die App anschaut abgreifen, also so pseudo-public würd ich meinen, aber verstehe natürlich deine Bedenken.
Alternativ kann man's vlt als Github-Secret pflegen, wenn's im Code zu heikel is.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants