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

Baqueira/​Beret #71

Open
FezVrasta opened this issue Nov 2, 2023 · 1 comment
Open

Baqueira/​Beret #71

FezVrasta opened this issue Nov 2, 2023 · 1 comment

Comments

@FezVrasta
Copy link
Contributor

Hi, can anyone point me to the page where the skilifts status is held? I can't seem to find it anywhere 🤔 I'd like to add it to Liftie

@mdjong1
Copy link
Contributor

mdjong1 commented Dec 1, 2023

Looks like if you send a POST to
https://baqueira-beret.2dmap.spotlio.com/index.php
with BODY
status=getStatus&resortIds%5B%5D=1760&season=winter
and Headers
Content-Type=application/x-www-form-urlencoded; charset=UTF-8

Found on: https://www.baqueira.es/en/trail-map-2d

You can get a JSON with slope and lift statuses; where I assume the status field is boolean for open/closed. It's sent in the format of:
baqueira.json

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

2 participants