[英]REST API Companies House(UK) get document
I need some help to fetch a document with Companies House api from his REST API. 我需要一些帮助,以便通过他的REST API使用Companies House api获取文档。 I don't now how where I get the token_type
and the access_token
. 我现在不知道如何获得token_type
和access_token
。
Here is the api: https://developer.companieshouse.gov.uk/ 这是api: https : //developer.companieshouse.gov.uk/
Here is the problem: https://developer.companieshouse.gov.uk/document/docs/document/id/content/fetchDocument.html 这是问题所在: https : //developer.companieshouse.gov.uk/document/docs/document/id/content/fetchDocument.html
Can anyone help me with this?. 谁能帮我这个?。
ps I'm using python3.5 and requests module. ps我正在使用python3.5和requests模块。
Take a look at the bottom of this page this page . 看一下此页面底部的本页 。 The access_token
will be provided to you by Companies House, and the token_type
is the type of token it is, again Companies House will provide this to you when you register with them. access_token
将由access_token
(公司)提供给您, token_type
是它的令牌类型,当您向他们注册时,Companies House将再次为您提供令牌。
In short, you can't access this system without a key ( access_token
) which Companies House will provide when you register . 简而言之,没有注册时公司之家将提供的密钥( access_token
),您将无法访问此系统。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.