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

Kilka liczników na jednym koncie #5

Open
tomekbee opened this issue Apr 10, 2023 · 1 comment
Open

Kilka liczników na jednym koncie #5

tomekbee opened this issue Apr 10, 2023 · 1 comment

Comments

@tomekbee
Copy link

Skrypt poprawnie działa gdy do konta tauronu przypisany jest tylko 1 licznik - domyślnie brany jest pierwszy zarejestrowany. W przypadku posiadania kilku należy po zalogowaniu wysłać request z przypisaniem do sesji identyfikatora licznika który nas interesuje:
self.session.post(
"https://elicznik.tauron-dystrybucja.pl/ustaw_punkt",
data={
"site[client]": "XXXXXXXX_YYYYYYYY_ZZZZZZZ"
},
)

"XXXXXXXX_YYYYYYYY_ZZZZZZZ" - identyfikator licznika

@tomekbee
Copy link
Author

Przepraszam, błędnie zamieściłem komentarz - nie do tego skryptu

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

No branches or pull requests

1 participant