sosedoff / opentable Goto Github PK
View Code? Open in Web Editor NEWUnofficial OpenTable API
Home Page: http://opentable.herokuapp.com/
License: Other
Unofficial OpenTable API
Home Page: http://opentable.herokuapp.com/
License: Other
Hey,
Is there a way to search and get the restaurant ratings given the name of the restaurant:
I tried:
http://opentable.herokuapp.com/api/restaurants?name=%22antica%20pesa%22
but didn't get the answer I was hoping...
Thanks for putting together this API. I wrote something really quickly to fetch the IDs of all the restaurants in my city, but wanted to take things a little further. Using the network tab in chrome, I see that checking for availability on a given day at a given restaurant is done by making a POST request to something like:
http://www.opentable.com/restaurant/profile/50962/search
with a payload like:
{"covers":2,"dateTime":"2015-02-13 17:00"}
Have you explored this at all? My preliminary attempts at using this programmatically are failing. I've tried spoofing my user agent, but that didn't matter. Perhaps it's checking the request origin or looking for some cookie?
Is it possible to implements CORS headers? It should only need one new header and it should be available put on all OPTIONS requests.
Access-Control-Allow-Origin: *
Hello,
In a recent update it seems that you have broken the zipcode field. Postal codes that start with 0 are missing the leading 0's. If we query agains postal code we get 0 results.
For example this restaurant in Boston has this for data:
{
"total_entries": 1,
"per_page": 25,
"current_page": 1,
"restaurants": [
{
"id": 106855,
"name": "Nebo",
"address": "520 Atlantic Ave",
"city": "Boston",
"state": "MA",
"area": "Boston / New England",
"postal_code": "2210",
"country": "US",
"phone": "6177236326",
"lat": 42.353772,
"lng": -71.053364,
"price": 2,
"reserve_url": "http://www.opentable.com/single.aspx?rid=106855",
"mobile_reserve_url": "http://mobile.opentable.com/opentable/?restId=106855",
"image_url": "https://www.opentable.com/img/restimages/106855.jpg"
}
]
}
You can see that the postal_code is "2210" when it should be "02210"
Therefore the following query returns 0 results:
If we take off the zip param it works, but we have code that contains the zip right now.
Thanks!
This API is not supported in UK. Please give me suggeations on any other alternative API
Hi,
OpenTable recently added more than 2300 restaurants for the city of London, available at the following link http://www.opentable.co.uk/ .
It would be very useful for people without the affiliate program to access this new set of data.
Thanks.
Say I obtain phone number of a restaurant from Google Places API, it would be much easier to find the same restaurant from OpenTable with the same phone number.
How often the site database is updated?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.