没有项目描述

inscribe的Python项目详细描述


有关更多信息,请阅读我们的documentation

安装

  • pip install inscribe

用法

importinscribeimportjson# API Authenticationapi=inscribe.Client(api_key="YOUR_API_KEY",user_id="YOUR_USER_ID")# Create customer foldercustomer=api.create_customer(customer_name="new")customer_id=customer['data']['id']# Upload documentdoc_obj=open("YOUR_FILE.pdf","rb")document=api.upload_document(customer_id=customer_id,document=doc_obj)document_id=document['result_urls'][0]['document_id']# Check documentresult=api.check_document(customer_id=customer_id,document_id=document_id)print(json.dumps(result,indent=2))

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
image Java:设置iconimage而不使用完整路径   javaant和Eclipse构建   Java标签检查图像   java为什么我的glassfish服务器会重定向到另一台服务器?   java MySQL简单查询错误   java你能告诉我如何在图像视图中显示图像吗   Java驱动程序4.0:是否支持对象映射?   java在通过SourceDataLine播放音频时发出一致的爆裂声   java组织。金特罗普。dcom。常见的JIException:未找到错误代码0xC0000070的消息   运行Dijkstra算法实现时的java IndexOutOfBoundsException   java swing gui闪烁白色错误   java单元测试:我应该使用null还是可选的。返回()中的空()?   javajaxb创建空对象   如何拒绝Java构造函数中的非限定参数?   单元测试的java分类