cubehouse / themeparks

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

API for Parc Asterix is not working anymore #337

Closed juliendogny closed 2 years ago

juliendogny commented 3 years ago

Hello,

The URLs for Parc Asterix for both wait times and opening times are not working anymore. Do you have the new URLs and parameters ?

Thanks, Julien

cubehouse commented 3 years ago

Looks like they have a completely new API!

I can take a look later this week, but happy if anyone has a pull request!

jeanmatthieud commented 2 years ago

I'm working on it: https://github.com/jeanmatthieud/themeparks/tree/asterixpark-graphql I will test it tomorrow when the park is open before submitting the pull request.

jeanmatthieud commented 2 years ago

The new API seems to have a websocket subscription to get the new waiting times. I did not used that (but I referenced the "drupalId" for the rides, as it's the main ID for getting waiting times).

cubehouse commented 2 years ago

I believe the websocket just tells you if there is an update to fetch, I don't think it is essential to use.

juliendogny commented 2 years ago

I'm working on it: https://github.com/jeanmatthieud/themeparks/tree/asterixpark-graphql I will test it tomorrow when the park is open before submitting the pull request.

Thanks a lot, I'll have a look

juliendogny commented 2 years ago

Everything is working fine, thanks a lot !