launchlibrary.net api的包装器

python-launch-librar的Python项目详细描述


python启动库

用于启动库web api的简单python包装器。也可以异步使用。

PyPI VersionDocumentation Status

可用型号:Agency, AgencyType, Launch, Launch Status, Pad, Location, Rocket, RocketFamily

api的使用很简单。

使用量

可在Read The Docs中找到适当的文档。

要安装,只需使用pip:pip install python-launch-library

# Import the launchlibrary libimportlaunchlibraryasll# Create an instance of the APIapi=ll.Api()# You can also specify api url, api version...# And request the next 5 launches, for example.launches=ll.Launch.fetch(api,next=5)# Any argument after "api" is not constrained (w/ kwargs).# ^ Returns a list of launch objects.# You can fetch the pythonic property names by using launch.param_namesproperties=launches[0].param_names# It's now possible to also use the regular API names as well as pythonic names.vid_urls=launches[0].vid_urlsvid_urls_2=launches[0].vidURLs

待办事项

  • [X]整理存储库
  • [X]添加异常以处理服务器超时
  • [X]处理嵌套模型(即启动模型内的定位模型内的pad模型)
  • [X]使用DateTime类处理时间
  • [X]正确打包并上传到PYPI
  • [X]为API调用添加更多抽象方法(接受建议)
  • [X]添加神奇方法比较(接受建议)
  • [X]异步操作
  • [X]使用getattr为实际的API名称添加别名
  • []添加测试
  • []您的建议

请随意打开问题和请求!我通常每天检查github。

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

推荐PyPI第三方库


热门话题
在java中将字符串转换为另一个字符串   我有一个功能模型(xml格式)。当遍历所需的特性时,是否有方法为任何给定的特性模型生成java类?   泛型如何在我自己的链表中将迭代器定义为Java中的节点?   Java Lucene对于同一Lucene查询语言,BooleanQuery和QueryParser查询的结果不同   java禁用REST安全性和身份验证Websphere Commerce   我如何访问本地。属性变量?Java Swing正确使用变量   使用Java 1.7为Kotlin配置Gradle   java如何将mvn项目分解为多模块?   java无与伦比的eclipse调试配置。如何删除?   java如何谷歌翻译API,当我尝试时没有提供正确的输出   java有没有更好的方法将变量传递给我的视图?   在变量Java Android中存储用户EditText中的编号   javaapachecamel当反序列化对象时,它抛出一个异常:com。fasterxml。杰克逊。果心JsonParseException:无法识别的令牌   java简单UI循环,找不到bug