如何使用 YQL 查询 Netflix?

发布于 2024-10-03 00:29:29 字数 276 浏览 0 评论 0原文

使用 YQL 从 NetFlix API 选择数据的查询是什么?

我尝试运行 select* from netflix.catalog where key = "xxxxx";

但出现错误无法在 where 子句中找到所需的键;得到“key”,期待所需的密钥:(cks,term,ck)

更新:我检查了它要求 SELECT * FROM netflix.catalog WHERE term="" 和 ck="" 和 cks=""

这些参数是什么以及如何使用从该表查询电影?

What is a query to select data from NetFlix API using YQL?

I tried to run select* from netflix.catalog where key = "xxxxx";

but got an error Cannot find required keys in where clause; got 'key', expecting required keys: (cks, term, ck)

update: I checked it asks for SELECT * FROM netflix.catalog WHERE term="" and ck="" and cks=""

What are these parameters and how to query a movie from that table?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

妄司 2024-10-10 00:29:29

此处有一个使用 YQL 的 Netflix 应用程序的非常详细的示例。 Netflix 特定的内容从标题设置此示例开始,

这是他们的第一个查询,清楚地显示了 cks、term 和 ck 的值。

USE "http://your_domain/netflix.xml" AS netflix_table; SELECT * FROM netflix_table WHERE term="rocky" AND ck="your_consumer_key" AND cks="your_consumer_secret__key"

ck:consumer_key
cks:consumer_secret
术语:搜索术语

There is a very detailed example of an netflix app using YQL here. The netflix specific stuff begins under the header Setting Up This Example

Here's their first query that clearly shows the values of cks,term, and ck.

USE "http://your_domain/netflix.xml" AS netflix_table; SELECT * FROM netflix_table WHERE term="rocky" AND ck="your_consumer_key" AND cks="your_consumer_secret__key"

ck: consumer_key
cks: consumer_secret
term: search term

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文