Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ruby-on-rails-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
未经授权(HTTP 401)R omdbapi_R - Fatal编程技术网

未经授权(HTTP 401)R omdbapi

未经授权(HTTP 401)R omdbapi,r,R,尝试访问OMDbAPI()时出错。此外,当我访问该网站并尝试手动查找电影时,我得到一个响应失败 我正在尝试运行这条线路: 按标题查找('Arrival',发布年份=2016)并获取此错误: 按标题查找错误(“到达”,发布年份=2016):未经授权(HTTP 401)。 非常感谢您的帮助。您现在必须获得密钥并将其添加到所有请求中 OMDb API: 海报宣传短片: 这是他们网站上的内容 We are going private! 05/10/17 - New API Keys! Due to s

尝试访问OMDbAPI()时出错。此外,当我访问该网站并尝试手动查找电影时,我得到一个
响应失败

我正在尝试运行这条线路:
按标题查找('Arrival',发布年份=2016)
并获取此错误:
按标题查找错误(“到达”,发布年份=2016):未经授权(HTTP 401)。


非常感谢您的帮助。

您现在必须获得密钥并将其添加到所有请求中

OMDb API: 海报宣传短片:

这是他们网站上的内容

We are going private!

05/10/17 - New API Keys! Due to some security concerns on how the keys were being distributed I updated the form to email them and also changed the algorithm used, which means your older keys not obtained through email will eventually stop working. 

05/08/17 - Going Private! Please go read the post on the Patreon page about this major change. 

您必须获得一个API密钥。

您必须立即获得一个密钥并将其添加到所有请求中

OMDb API: 海报宣传短片:

这是他们网站上的内容

We are going private!

05/10/17 - New API Keys! Due to some security concerns on how the keys were being distributed I updated the form to email them and also changed the algorithm used, which means your older keys not obtained through email will eventually stop working. 

05/08/17 - Going Private! Please go read the post on the Patreon page about this major change. 

您必须获得API密钥。

我使用他们的API已经一年多了,现在它停止了。如果您需要执行大量查询,那么我认为成为OMDBAPI的赞助者是一个好主意。然而,我在我的小私人项目中使用了他们的API。在谷歌搜索了一下之后,我发现了另一个API。下面是PHP中的代码,也许您可以在R中执行类似的操作:

<?php
$imdbID = 'tt2866360';
$data = json_decode(file_get_contents('http://api.rest7.com/v1/movie_info.php?imdb=' . $imdbID));

if (@$data->success !== 1)
{
    die('Failed');
}
echo '<pre>';
print_r($data->movies[0]);

我使用了他们的API一年多,现在它停止了。如果您需要执行大量查询,那么我认为成为OMDBAPI的赞助者是一个好主意。然而,我在我的小私人项目中使用了他们的API。在谷歌搜索了一下之后,我发现了另一个API。下面是PHP中的代码,也许您可以在R中执行类似的操作:

<?php
$imdbID = 'tt2866360';
$data = json_decode(file_get_contents('http://api.rest7.com/v1/movie_info.php?imdb=' . $imdbID));

if (@$data->success !== 1)
{
    die('Failed');
}
echo '<pre>';
print_r($data->movies[0]);

谢谢你的评论。因此,如果我理解正确的话,现在人们使用omdbapi的唯一方法就是付费?当然,对于每天10万个请求来说,看起来每月只有1美元。是的。如果你还想要海报,我想是5美元。在我看来,这家伙做了很多工作,所以他应该得到一些收入。谢谢你的评论。因此,如果我理解正确的话,现在人们使用omdbapi的唯一方法就是付费?当然,对于每天10万个请求来说,看起来每月只有1美元。是的。如果你还想要海报,我想是5美元。在我看来,这家伙做了很多工作,所以他应该得到一些收入。