雅虎电影 API 文档 [英] Yahoo Movies API Documentation

查看:47
本文介绍了雅虎电影 API 文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用新的未发布的 Yahoo Movies API,但找不到任何关于它的官方或非官方文档.

有人知道是否有任何相关文档吗?

示例 API 调用:http://new.api.movi​​es.yahoo.com/v2/listMovies?title=变形金刚

无法再访问 API.我不确定雅虎对这个 API 的计划是什么.任何信息都会有所帮助.

解决方案

无法真正帮助您解决最初的问题,因为所有链接现在似乎都已失效!

但是,使用 YQL 您可能仍然能够实现您的目标.

<块引用>

什么是 YQL?从网上选择*雅虎!查询语言 (YQL) 平台使开发人员能够跨 Web 查询、过滤和组合数据.YQL 公开了一种类似 SQL 的语法,它对开发人员来说既熟悉又足够表达以获取正确的数据.

还有一个社区提供的表格列表供您使用,可以在 http://www.datatables.org/

要利用这一点,您所要做的就是将社区表导入在线 YQL 控制台或访问此方便的链接 此处 它将为您提供来自 datatables.org 的所有表的列表,并可以从 YQL 控制台访问它们.>

我已经快速搜索了标记为电影的表格,所以这里有一些查询,您可以尝试获取更多信息!虽然他们中的大多数来自 nyt 并且需要一个 api 密钥,但 yahoo 似乎已经为我们解决了这个问题 - 信息 此处 和导入此数据的控制台链接是 这里 所以对于下面的例子,你可能最好使用那个链接.

<块引用>

从movies.showtimes 中选择*

从 nyt.movi​​es.critics 中选择 *

select * from nyt.movi​​es.reviews where reviewer="VINCENT CANBY"

由于我不太了解您想要这些数据的用途,我不知道这些信息是否有用,但我希望它是:]

I'm trying to use the new unpublished Yahoo Movies API, but can't find any documentation, official or unofficial, about it.

Does anyone know if any documentation exists for this?

sample API call: http://new.api.movies.yahoo.com/v2/listMovies?title=Transformers

EDIT: The API can no longer be accessed. I'm not sure what Yahoo's plans are with this API. Any info would help.

解决方案

Can't really help you with your original question, as all links now seem to be dead!

However, using YQL you might still be able to achieive what you are trying to do.

What's YQL? select * from internet The Yahoo! Query Language (YQL) platform enables developers to query, filter, and combine data across the web. YQL exposes a SQL-like syntax that is both familiar to developers and expressive enough for getting the right data.

There is also a listing of community provided tables that you can make use of which can be found at http://www.datatables.org/

To make use of this, all you have to do is import the community tables in to the online YQL console or follow this handy link here which will give you a list of all tables from datatables.org and access to them from the YQL console.

I've had a quick search through this for tables marked as movies so here are some queries you can try out to get further information! Although most of them are from nyt and require an api key, but yahoo seem to have taken care of that for us - information here and a link to the console with this data imported is here so for the bellow examples, you are probably best using that link.

select * from movies.showtimes

select * from nyt.movies.critics

select * from nyt.movies.reviews where reviewer="VINCENT CANBY"

As I don't know enough about what you want the data for, I don't know if any of this information will be of use, but I'm hoping that it is :]

这篇关于雅虎电影 API 文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆