pirxpilot / liftie

:ski: Clean, simple, easy to read, fast ski resort lift status.
https://liftie.info
BSD 3-Clause "New" or "Revised" License
70 stars 32 forks source link

Baqueira/​Beret #71

Open FezVrasta opened 1 year ago

FezVrasta commented 1 year ago

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 commented 11 months ago

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