cubehouse / themeparks

Unofficial API for accessing ride wait times and schedules for Disneyland, Disney World, Universal Studios, and many more parks
MIT License
544 stars 126 forks source link

Virtual Line times at Europa-Park #294

Open HookDonn opened 4 years ago

HookDonn commented 4 years ago

Hello, Would it be possible to get the Virtual Line times from the attractions at Europa-Park? I know it's possible but I don't know how... :(

Thanks you, Hook.

LouisForaux commented 4 years ago

Hi

In the current API, there is no way for getting virtual line times.

Maybe in an other URL but for now, I can't reach them

HookDonn commented 4 years ago

Yes I think it's via another URL but I don't know where to find it or how to do it with the application and certain software

HoffiF commented 4 years ago

I have been working on the new API of Europa-Park, which also displays the VirtualLine and the waterpark Rulantica, which can be found at the following URLs:

JWT Authorization: https://tickets.mackinternational.de/api/v1/login_check" Per Body must be transferred here: {"password": "", "username": ""}

Opening hours Europa-Park: https://tickets.mackinternational.de/api/v1/opentime/europapark/de Opening hours Europa-Park Hotel: https://tickets.mackinternational.de/api/v1/hoteltime/europapark Opening hours Rulantica: https://tickets.mackinternational.de/api/v1/hoteltime/rulantica Opening hours Rulantica Hotel: https://tickets.mackinternational.de/api/v1/opentime/rulantica/de

Waiting times Europa-Park & Rulantica: https://tickets.mackinternational.de/api/v1/waitingtimes

However, I currently can't get the username and password to pick up the JWT Authorization Bearer Token.

HoffiF commented 4 years ago

Small feedback, the new version of 8.0.0 seems to use Certificate Transparency to prevent a man-in-the-middle attack. I can't get around the SSL pinning with it currently. The access data of the older version 7.2.0. where you could still intercept the data is disabled. Maybe someone else has an idea.

simonbuehler commented 3 years ago

Did you test with https://github.com/sensepost/objection,? Friend asked me if it would be possible to find out when the next virtual line slots would be available, haven't looked into it yet but will the next days

simonbuehler commented 3 years ago

https://www.kuketz-blog.de/android-tls-verifikation-und-certificate-pinning-umgehen/ worth reading