首页 文章
  • 1 votes
     answers
     views

    如何通过zomato api获得超过100家餐厅?

    首先,我获得了一个zomato api . 然后我使用nodejs fetch从api获取餐馆 . 0-19项: https://developers.zomato.com/api/v2.1/search?entity_id=259&entity_type=city&start=0&count=20 20-40项: https://developers.zomato.co...
  • -2 votes
     answers
     views

    如何使用zomato API显示和列出附近餐馆的json响应?我用截击来得到回应

    公共类MainActivity扩展AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setcontentview(r.layout.activity_main); RequestQueu...
  • 0 votes
     answers
     views

    GSON无法解析Zomato餐厅系列

    我正在使用Java和Akka在家中设计新应用程序,但我面临着来自Zomato的api响应问题 . JSON响应可以在下面找到 . 我创建了Class Restaurant餐厅列表 . 我应该如何解析它? { "results_found": 131, "results_start": 0, "results_shown": 10, &qu...
  • 2 votes
     answers
     views

    为什么Zomato API存在按邮政编码搜索的问题?

    在Zomato的API文档中,您可以使用q参数输入几乎任何内容 . 有了下面的网址,我一直在我的区域用zipcodes测试它,它就像一个魅力 . 但是,当我冒险并搜索来自不同州的邮政编码时,它没有找到任何结果 . 现在奇怪的是,如果我去Zomato.com并开始尝试在他们的网站中找到这些不同状态的餐馆并返回我的api电话,它就会开始使用这些邮政编码而不再使用我所在区域的邮政编码!这是怎么回事?有像...
  • 0 votes
     answers
     views

    带角度的Zomato api

    我对编码很新,并且在使用Angulars $ http从Zomato API加载数据时出现问题 . 即使我使用Zomato生成的API密钥,我仍然会在控制台中弹出无效的API密钥作为错误 . 以下是我的代码片段:http://jsfiddle.net/3j1c816v/1/ $http({ method: 'GET', url: 'https://developers.zomato...
  • 3 votes
     answers
     views

    如何从Zomato API获得更多评论

    当我尝试获得超过5条评论时,“评论”API会返回同一组评论 . 我正在使用curl请求获取评论 . 例如,我试图获得10条评论'Impromptu',起始索引为20 . curl -X GET --header "Accept: application/json" --header "user-key: <API_KEY>" "http...
  • 0 votes
     answers
     views

    Zomato api在Nodejs中不起作用

    我需要在Nodejs中使用Zomato Api来查看特定餐厅 . 但是这个api正在 postman 中工作 . 但它在 Nodejs 无法正常工作 . app.js var https = require('https'); var request = require('request'); var zomatoUserKey = '****************************'; ...
  • 0 votes
     answers
     views

    Zomato API:如何在搜索中包含多个场所?

    如果要搜索,则必须生成此URL https://developers.zomato.com/api/v2.1/search? lat=LATITUDE &lon=LONGITUDE &radius=RADIUS &establishment_type=ESTABLISHMENT IDS &category=3%2C10 您可以通过放置多个类别进行过滤(在我的情况下...
  • 0 votes
     answers
     views

    Zomato api总是通过位置响应返回20家餐馆

    即使我将count参数更改为其他内容,它也始终仅返回20个响应 . 这是基本zomato API的限制吗?
  • 0 votes
     answers
     views

    无法从Zomato API获取电话号码

    我无法使用 Zomato API 获取餐厅的电话号码 . 我们是否需要与 Zomato 合作,然后才会提供此类详细信息 . 我还想要餐厅的其他细节,如其网站(如果有的话) .
  • 0 votes
     answers
     views

    Zomato API与Android应用程序集成

    { "code":403, "status":"Forbidden", "message":"Invalid API Key" } this is what i am getting as request URL 我正在尝试使用我的Generated API密钥使用Zoma...
  • 1 votes
     answers
     views

    Zomato - 菜单获取API(/ dailymenu)

    当我使用Zomato API获取菜单(/ dailymenu)时,它总是返回以下响应 . { "code": 400, "status": "Bad Request", "message": "No Daily Menu Available" } 有人有运气吗? 我相信Zomato没有...
  • 0 votes
     answers
     views

    Zomato api url请求返回错误,指出无效的api密钥

    我正在尝试将数据存储在zomato api中,并检查网站中生成的一些网址,例如, <a href="https://developers.zomato.com/api/v2.1/restaurant?res_id=RESID"> https://developers.zomato.com/api/v2.1/restaurant?res_id=RESID, 我收到一...
  • 0 votes
     answers
     views

    Zomato API无法正常工作 - ReactJs

    我很难在reactjs中尝试做一个基本的zomato api请求工作 . api文档看起来很简单 . 我正在对类别进行基本的GET请求:https://developers.zomato.com/documentation#!/common/categories 这是我的ReactJS函数的样子: componentDidMount() { // A previous request for...
  • 1 votes
     answers
     views

    无法访问Zomato API JSON对象

    我正在Udacity的Web开发Nanodegree课程中开展一个项目 . 我决定使用餐馆信息并生成我的API密钥 . 但是,当我在AJAX对象中使用它来获取数据时,开发工具会向我显示“无效API”错误 . 但是,API是正确的 . 请帮忙 . 这是我的代码: $(document).ready(function(){ $("button").click(function(){...
  • 0 votes
     answers
     views

    从Zomato API数据键获取值

    我目前正试图从Zomato API的“best_restaurant”列表中获取Hayward餐厅的名称和地址 . 我试过了 response = requests.get(url, headers=header) data = (response.json()) # print(data) for item in data["best_rated_restaurant"...
  • 4 votes
     answers
     views

    带有python请求库的zomato api请求

    Zomato是最受欢迎的餐厅搜索引擎之一,提供免费的api服务...... 如果在api请求中使用curl,则效果很好; curl -X GET --header "Accept: application/json" --header "user_key: MY_API_KEY_HERE" "https://developers.zomato.co...
  • 0 votes
     answers
     views

    如何向zomato api提出cURL请求?

    我刚开始探索API . 到目前为止这是我的代码 . 对于locu API,这可行,但对于Zomato,他们使用curl头请求,我不知道如何使用 . 有人可以指导或告诉我如何? import json import urllib2 Key = 'Zomato_key' url = 'https://developers.zomato.com/api/v2.1/categories' json_...
  • 0 votes
     answers
     views

    如何使用Zomato API验证和解析数据

    使用Zomato API密钥,您如何进行身份验证,搜索餐馆并解析数据?
  • 0 votes
     answers
     views

    佐马托JSON回应

    我有以下代码来从Zomato API获取JSON响应 . // Zomato function zomatoStart(){ var client = zomato.createClient({ userKey: apiKeyZmato }); client.getGeocode({ lat: latLocation, //latitude lon: lon...
  • 1 votes
     answers
     views

    Zomato Android API的模型类

    您好我正在尝试开发一个应用程序,我需要一个特定城市的餐馆列表 . 我正在尝试使用Zomato API . 从https://developers.zomato.com/documentation的文档中,我觉得/ geocode方法最适合我需要的东西 . 对此的示例响应如下所示 - {"location": { "entity_type": "&q...
  • 1 votes
     answers
     views

    PHP cURL请求zomato API在localhost上工作,但只在实时服务器上返回空数组

    我通过PHP cURL 've built a site that connects to Zomato'的API https://developers.zomato.com/api并在json中检索信息数组 . 我已经删除了我在这里使用的代码: <?php // Errors on error_reporting(E_ALL); // Get cURL resource $curl ...
  • 0 votes
     answers
     views

    对Zomato API的Ajax调用不起作用

    我正在尝试访问zomato api . 网址:https://developers.zomato.com/api/v2.1/categories Headers :'X-Zomato-API-Key':'myapikeyhere-763demoapi434' 如果我使用chrome的postman扩展或curl,那么我可以访问url并获取200状态代码 . 但是,如果我通过我的angular2应用...
  • 0 votes
     answers
     views

    当连接到移动网络时,Zomato api url返回错误的位置json数据

    这是连接到移动网络时:URl:https://developers.zomato.com/api/v2.1/search?entity_id=4&entity_type=subzone&q=food&start=0&count=20&lat=12.944038999999998&lon=77.6802905&radius=100&cu...
  • 1 votes
     answers
     views

    Android:如何从Zomato API获取JSON对象?

    我的目标是使用Zomato API显示附近餐馆的列表 . 我首先需要JSON对象来获取这些餐馆的名称 . 我已经获得了API密钥,我知道请求URL看起来像这样 https://developers.zomato.com/api/v2.1/search?lat=LATITUDE&lon=LONGITUDE 从文档https://developers.zomato.com/documenta...
  • 0 votes
     answers
     views

    如何使用zomato API获取菜单的所有页面? [关闭]

    我在我的应用程序中使用Zomato API . 我查询了以下地区的餐馆 https://developers.zomato.com/api/v2.1/restaurant?res_id=RESID 我收到了餐馆数据的JSON回复 . 喜欢 { "id": "16774318", "name": "Otto Enoteca...
  • 0 votes
     answers
     views

    ZOMATO - Eclipse中的INVALID API Key错误,但在POSTMAN响应中是成功的

    我正在执行ZOMATO API的GET请求,POSTMAN工具返回一个成功的响应,但是当我尝试使用Eclipse时,它返回以下消息:403错误无效的API密钥 我在POSTMAN和Eclipse中使用的API密钥是双重检查的 . 日食代码如下所述: public class exampleTest { public static void main(String[] args) { ...
  • 1 votes
     answers
     views

    如何通过餐厅链接获取Zomato餐厅ID?

    我想了解佐马托一家餐馆的细节 . 我有它的链接作为输入(https://www.zomato.com/mumbai/fantasy-the-cake-shop-kalyan?utm_source=api_basic_user&utm_medium=api&utm_campaign=v2.1) . 通过浏览Zomato API的文档,我没有找到获得它的方法 . 我尝试使用搜索API搜...
  • 0 votes
     answers
     views

    Angular 4 API HttpClient Post / Get in Zomato

    我有这个功能但是zomato继续将其返回为403(无效的API) . 我不确定是否还需要其他功能/参数来填充用户密钥 url='https://developers.zomato.com/api/v2.1/search?count=50&lat=111&lon=111&radius=1500&order=desc' sendGetRequest() { ...
  • 0 votes
     answers
     views

    使用Android进行图像报废

    有没有办法从wesbite中删除多个图像,并通过我们的应用程序显示它? 我想显示来自这个网站的图片https://www.zomato.com/id/jakarta/the-porte-eatery-and-cafe-benda/menu#tabtop Zomato本身只提供页面的URL . 它提供餐厅的菜单(多个图像) . 但也有其他餐馆的缩略图,我不想出现 . 感谢您的帮助!

热门问题