mcpi-central:Minecraft Pi集中式API

时间:2021-05-09 23:46:22
【文件属性】:
文件名称:mcpi-central:Minecraft Pi集中式API
文件大小:245KB
文件格式:ZIP
更新时间:2021-05-09 23:46:22
Python MCPI-* Minecraft Pi集中式API。 入门 先决条件 要使用该API,您需要在pi上安装Python >= 3.7.x 。 安装 要安装API服务器和客户端,请下载或克隆存储库,并使用pip安装Python 3.x模块: git clone https://github.com/MCPI-Devs/mcpi-central.git cd mcpi-central pip3 install . 原料药 客户端API通过APIClient类公开以下方法: def login() 需要验证 终点 方法 查询参数 :cross_mark: 得到 code 侦听http://localhost/callback ,等待Discord OAuth回调并交换token的code 。 您可以通过打开,登录并在网络浏览器中授权该应用程序来生成此回调。 def new_server(name, ip, p
【文件预览】:
mcpi-central-master
----runtime.txt(13B)
----Procfile(65B)
----LICENSE(18KB)
----src()
--------server.py(5KB)
--------db.py(3KB)
--------test.py(1KB)
--------client.py(3KB)
--------__main__.py(1KB)
--------__init__.py(857B)
--------base.py(1KB)
----.idea()
--------dataSources.xml(576B)
--------mcpi-central.iml(622B)
--------misc.xml(200B)
--------vcs.xml(180B)
--------modules.xml(276B)
--------.gitignore(235B)
--------inspectionProfiles()
--------sqldialects.xml(245B)
--------dataSources()
----requirements.txt(52B)
----setup.py(2KB)
----.gitignore(76B)
----Makefile(2KB)
----README.md(4KB)

网友评论