如何为NFL Shield API创建访问令牌? [英] How would I create an access token for the NFL Shield API?

查看:88
本文介绍了如何为NFL Shield API创建访问令牌?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

NFL在此处似乎具有API服务: https://api. nfl.com/docs/getting-started/index.html

The NFL appears to have an API service here: https://api.nfl.com/docs/getting-started/index.html

访问API端点需要获得OAuth2访问令牌.如果我没记错的话,它们需要一个client_id和client_secret.

Accessing the API endpoints requires obtaining an OAuth2 access token. Which, if I am not mistaken, requires a client_id and client_secret.

我已经阅读了文档,但不确定如何获取client_id和client_secret.创建这些东西我缺少什么吗?

I have read through the documentation and I am not sure how I would obtain a client_id and client_secret. Is there something I am missing to create these?

推荐答案

最后得到了答案.该文档确实说该API是公开的,并且所有人都可以免费使用,但是他们更改了该政策,并且没有更新该文档.

Finally got an answer on this. The documentation does say that the API is public and free for everyone, but they changed that policy and haven't updated the documentation.

你好多米尼克,

Hi Dominic,

感谢您与我们联系.自2月18日起,NFL已保护了API,并将仅授予合同合作伙伴访问权限.不幸的是,如果您不是NFL的合作伙伴,您将不再有权访问供稿或无法访问该供稿.

Thanks for reaching out. As of Feb. 18th, the NFL has secured the APIs and will only grant access to contractual partners. Unfortunately, if you are NOT a NFL Partner you will no longer have access to the feeds or able to obtain access to this feed.

谢谢, 乔纳森·武(Jonathan Vu) 产品运营经理

Thanks, Jonathan Vu Product Operations Manager

这篇关于如何为NFL Shield API创建访问令牌?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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