允许与canary轻松集成的python客户端库

canarymd的Python项目详细描述


python库为canary health提供了一个接口 API地址canary.md

tl;dr

安装:

$ pip install canarymd

使用:

importcanarymdclient=canarymd.Client(principal='{USERNAME}',credential='{PASSWORD}')html=client.select(context='{CONTEXT}',peo={'transport':canarymd.Transport.SITE,'purpose':canarymd.Purpose.PREPARE,'recipient':recipient.toHL7(),'appointment':{'time':'2014-12-02T18:20:06Z','patients':[patient.toHL7()forpatientinpatients],'provider':provider.toHL7(),'type':'new','reason':'us/namcs:5035.0','policy':policy.toHL7(),},},timeout=30,).content# now do something with the HTML messages!

TOdo:添加文档

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

推荐PyPI第三方库


热门话题
JavaGWT:何时使用Lazydemelement?   Java中跟踪消失线程的多线程处理   java Springboot未能配置数据源:“url”,但我没有使用数据库   java为按钮生成随机位置   math Java:包含二项式系数计算的表达式   java通过AsyncTask传递参数   从路径错误创建java文件   高流量网站的性能播放框架、Java、Apache、PostgreSQL、JPA和Hibernate   java将4D矢量转换为长矢量   arraylist Java循环在没有任何错误的情况下终止   java正在制作一个计算器应用程序,希望在第二个片段中更新历史,但无法完成   java将信息从IntentService发送到Activity   java如何在游戏中插入大量实体!工作   javascript如何在ScriptEngineforJava中从数学中获得准确的结果?