简体   繁体   English

REST API Companies House(英国)获取文档

[英]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_typeaccess_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.

相关问题 具有多个公司或组织的系统的REST API设计 - REST API Design for systems with multiple companies or organizations 如何使用Rest Api在扩音器中添加公司? - How to add Companies in bullhorn using Rest Api? LinkedIn REST API - 访问用户可以发布的公司列表 - LinkedIn REST API - Accessing a list of companies the user can post to 如何为每个帐户设计具有多个“公司”的SaaS REST API - How to design REST API for SaaS with multiple “companies” per account 与不同的订户(公司)一起构建REST API的最佳实践是什么? - What is the best practices for building REST API with different subscribers (companies)? LinkedIn Rest API中是否有一种方法可以查看某个人关注的公司? - Is there a method in the LinkedIn Rest API to see what companies a person is following? Payapl REST API是否支持美国和英国以外的信用卡? - Is Payapl REST API supporting credit cards outside US and UK? REST API文档生成 - REST API document generation 如何使用Apache ManifoldCF通过REST API获取“文档状态”数据 - How to get “Document status” data through REST API with Apache ManifoldCF REST APi可以在SharePoint文档库中的特定文件夹中获取所有时间 - REST APi to get all times in specific folder in SharePoint document library
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM