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

查看:24
本文介绍了我将如何为 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.

多米尼克,

感谢您的联系.截至 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.

谢谢,乔纳森·武产品运营经理

Thanks, Jonathan Vu Product Operations Manager

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

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