Skip to content

Instantly share code, notes, and snippets.

@ToxicBakery
Created June 9, 2015 01:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ToxicBakery/4c75fc17e09e41e97d9f to your computer and use it in GitHub Desktop.
Save ToxicBakery/4c75fc17e09e41e97d9f to your computer and use it in GitHub Desktop.
Pizzahut API
{"id":"9ef2a17d-bd70-328d-7ab4-ff404f411a27","name":"Pizzahut","timestamp":1433037789301,"requests":[{"collectionId":"9ef2a17d-bd70-328d-7ab4-ff404f411a27","id":"2b852493-f523-f119-b22e-66189f55d09c","name":"getHtmlOrder","description":"","url":"https://quikorder.pizzahut.com/phorders3/service.php","method":"POST","headers":"","data":[{"key":"accountID","value":"phimc2api","type":"text"},{"key":"accountPW","value":"fs112358","type":"text"},{"key":"version","value":"2.0","type":"text"},{"key":"appsource","value":"Android","type":"text"},{"key":"appversion","value":"2.1.2","type":"text"},{"key":"request","value":"HTMLOrder","type":"text"},{"key":"data","value":"{\"sessionToken\":\"zDmPoTjzLOd8E8YYLxsFy0MPwQE7LKo19FmFxyZDQFSRRzfRd1LE48xCCj5k3PwC\",\"unitID\":\"029704\",\"occasion\":\"C\",\"location_index\":-1,\"action\":\"start\"}","type":"text"}],"dataMode":"urlencoded","timestamp":0,"version":2,"time":1433811561494},{"collectionId":"9ef2a17d-bd70-328d-7ab4-ff404f411a27","id":"5fc79717-503b-c4eb-f50c-c954bd82313f","name":"findNearbyAddress","description":"","url":"https://quikorder.pizzahut.com/phorders3/service.php","method":"POST","headers":"","data":[{"key":"accountID","value":"phimc2api","type":"text"},{"key":"accountPW","value":"fs112358","type":"text"},{"key":"version","value":"2.0","type":"text"},{"key":"appsource","value":"Android","type":"text"},{"key":"appversion","value":"2.1.2","type":"text"},{"key":"request","value":"FindNearByAddress","type":"text"},{"key":"data","value":"{\"customer_zip\": \"32820\"}","type":"text"}],"dataMode":"urlencoded","timestamp":0,"responses":[],"version":2},{"collectionId":"9ef2a17d-bd70-328d-7ab4-ff404f411a27","id":"7a719f0b-7a69-7adf-e77f-545f7a824712","name":"generateTempAccount","description":"","url":"https://quikorder.pizzahut.com/phorders3/service.php","method":"POST","headers":"","data":[{"key":"accountID","value":"phimc2api","type":"text"},{"key":"accountPW","value":"fs112358","type":"text"},{"key":"version","value":"2.0","type":"text"},{"key":"appsource","value":"Android","type":"text"},{"key":"appversion","value":"2.1.2","type":"text"},{"key":"request","value":"GenerateTempAccount","type":"text"},{"key":"data","value":"{\"address\":{\"street_address\":\"16873 E. Colonial Dr.\",\"apartment\":\"\",\"city\":\"Orlando\",\"state\":\"FL\",\"zip\":\"32820\"}}","type":"text"}],"dataMode":"urlencoded","timestamp":0,"version":2,"time":1433809230725},{"collectionId":"9ef2a17d-bd70-328d-7ab4-ff404f411a27","id":"97358452-70d5-dded-48e0-cd4e9f90285b","name":"getCarouselItems","description":"","url":"https://quikorder.pizzahut.com/phorders3/service.php","method":"POST","headers":"","data":[{"key":"accountID","value":"phimc2api","type":"text"},{"key":"accountPW","value":"fs112358","type":"text"},{"key":"version","value":"2.0","type":"text"},{"key":"appsource","value":"Android","type":"text"},{"key":"appversion","value":"2.1.2","type":"text"},{"key":"request","value":"GetMenuItems","type":"text"},{"key":"data","value":"{\"unitID\":\"997\",\"occasion\":\"D\",\"section\":\"category\",\"subsection\":\"APICAROUSEL\"}","type":"text"}],"dataMode":"urlencoded","timestamp":0,"version":2,"time":1433040064599}]}
@ToxicBakery
Copy link
Author

These are a few of the Pizza Hut api calls. If you generate a new account you can use the session id to execute the html order call with a valid session. This will give you a desktop/mobile responsive page associated to the generated account.

@johnhforrest
Copy link

How do you get access to the Pizza Hut API? Do they have a site to sign up as a developer? I'm interested in writing a 3rd party app that supports ordering pizza.

@ThisIsArnab
Copy link

I'm also interested in creating a third-party app. @johnhforrest did you have any success finding the API access?

@netmico
Copy link

netmico commented Apr 16, 2023

I'm interested @johnhforrest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment