themeparks icon indicating copy to clipboard operation
themeparks copied to clipboard

Add entertainment to retrievable data

Open PhilippeP62 opened this issue 9 years ago • 14 comments

A lot of attractions ( parades, shows, meet & greets ... ) doesn't have wait times but show times , retrieving them separately would be a plus.

PhilippeP62 avatar Jan 13 '16 21:01 PhilippeP62

I'll look into this at some point. I'm going to leave the ticket open as I would like to add this at some point.

Alternatively, anybody else can contribute and add such a feature with a pull request :)

cubehouse avatar Feb 06 '16 12:02 cubehouse

I am very much interested in this feature as well. I know the url to the data but don't yet understand this code well enough to implement it. All I need is raw data returned.

zpocbob avatar Jan 21 '17 17:01 zpocbob

@zpocbob You should include the data url if you know it.

josiahpeters avatar Jan 31 '17 15:01 josiahpeters

@zpocbob emailed me directly and we arrived at the following code snippet: https://gist.github.com/cubehouse/2de24d7d43beb34a3cd7b81d1273a6c3

This gist shows you how to request custom URLs from the Disney API. Specifically, this script fetches the character appearances for both Disneyland California parks. This should show you the URL bob is discussing above.

cubehouse avatar Jan 31 '17 18:01 cubehouse

WDW https://api.wdpro.disney.go.com/bulk-service/snapshot/WDW-mobile-character-appearances

var park_id; if (result.finalUrl.indexOf("WDW-mobile-mk-character-appearances") >= 0) { // disneyland response park_id = "mk"; } else if (result.finalUrl.indexOf("WDW-mobile-ep-character-appearances") >= 0) { // california adventure response park_id = "ep" }else if (result.finalUrl.indexOf("WDW-mobile-hs-character-appearances") >= 0) { // california adventure response park_id = "hs" }else if (result.finalUrl.indexOf("WDW-mobile-ak-character-appearances") >= 0) { // california adventure response park_id = "ak" }

DLR https://api.wdpro.disney.go.com/bulk-service/snapshot/DLR-mobile-character-appearances

    var park_id;
    if (result.finalUrl.indexOf("DLR-mobile-dl-character-appearances") >= 0) {
        // disneyland response
        park_id = "dl";
    } else if (result.finalUrl.indexOf("DLR-mobile-ca-character-appearances") >= 0) {
        // california adventure response
        park_id = "ca"
    }

zpocbob avatar Jan 31 '17 20:01 zpocbob

WDW Restaurant list https://api.wdpro.disney.go.com/global-pool-override-A/facility-service/destinations/80007798/restaurants

Restaurant specific info and menuitems "https://api.wdpro.disney.go.com/global-pool-override-A/facility-service/restaurants/"+restaurant_id (90002606)

Get menus from the Restaurant "https://api.wdpro.disney.go.com/global-pool-override-A/facility-service/menu-items/"+menu_id (90006650)

zpocbob avatar Jan 31 '17 20:01 zpocbob

Other items I'd like to find: Aailable times slots for Restaurants at WDW and DLR Get available fastpass+ times for attractions at WDW.

zpocbob avatar Jan 31 '17 21:01 zpocbob

I would definitely love to get the available time slots for restaurants at WDW and DLR. I'm willing to contribute and code and assist as much as possible :)

eaaliprantis avatar Mar 17 '17 00:03 eaaliprantis

@zpocbob The issue with grabbing the attractions without waittimes, is that it is associated with the resort and not the individual park. You would have to somehow loop through all of them and then figure out which park it belongs to via the relevant links array.

@eaaliprantis There are no waittimes for restaurants, only for certain attractions and entertainments.

tin-robot avatar Mar 17 '17 18:03 tin-robot

I'm pretty sure in order to get fastpass times you not only need to login with a valid account, but that account also needs to have a purchased ticket for the day you're enquiring about. I've not done any investigation into that, but I think that's how it works, which isn't very feasible I fear!

For restaurants, I do want to eventually add a new "resort" concept to the library, where you can access a resort object that contains an array of parks associated with it. That is where I would implement restaurant calls.

cubehouse avatar Mar 17 '17 21:03 cubehouse

I'm unclear where this issue stands. Is the solution for DL Characters above universal enough to apply to all entertainment at Disney Parks (specifically WDW and DL)?

cbgrey avatar Aug 10 '17 17:08 cbgrey

Sorry, I don't follow your question.

Generally, this issue remains a potential "nice to have", but ultimately is not the focus of this library. If there were more maintainers and pull requests coming in, we could support that, but it's too much for me to maintain realistically.

All the parks have exposed functions (see docs) that let you make custom authenticated calls etc., which is demonstrated in the above Gist, so you can generally access anything if you are willing to dig a little and maintain that yourself for your project.

cubehouse avatar Aug 12 '17 07:08 cubehouse

Fair enough. Thanks for the reply.

cbgrey avatar Aug 12 '17 14:08 cbgrey

WDW https://api.wdpro.disney.go.com/bulk-service/snapshot/WDW-mobile-character-appearances

@zpocbob How did you come upon those URLs , I' trying to find the corresponding ones for DL Paris , but so far with no luck.

PhilippeP62 avatar Nov 24 '18 16:11 PhilippeP62