发布到mcf modlist的minecraft mods的python api包装器。

modlist的Python项目详细描述


modlist是一个用Python编写的APACHE许可库,旨在 为MCF Modlist提供一个简单易用的api包装器。

有关MCF modlist的详细信息:

mcf modlist被创建为一个包含 可能的。mcf的mods论坛是相当繁忙和流行的线程很容易。 埋葬新鲜的,新的想法,突然出现,从来没有得到足够的重视。 此外,在论坛内的搜索是有限的,因为你不能 精确定位mod版本,每个线程都有自己的格式 展示东西。还有一个问题是兼容性和 附属国。于是名单诞生了

安装:

源代码使用

$ python setup.py install

或者从pypi安装

$ pip install modlist

modlist apiv3文档:

此api当前可以从MCF Modlist检索以下数据:

  • /api/v3/:version.json:
>>> import modlist
>>> modlist.mods(VERSION)
[
    {
        "name": "Ambient Birds",
        "author": [
            "the_tubes"
        ],
        "versions": [
            "1.8"
        ],
        "dependencies": [
            "Not Forge Compatible",
            "Base Edit"
        ],
        "link": "https://www.reddit.com/r/Minecraft/comments/2fabek/18_mod_ambient_birds/",
        "type": [
            "SSP"
        ],
        "desc": "Adds small birds of different colors."
    },
    {
        "other": "(Beta)",
        "link": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1278239-animal-bikes-added-wither-and-flower-bikes-1-8",
        "name": "Animal Bikes",
        "dependencies": [
            "Forge Compatible"
        ],
        "author": [
            "Noppes"
        ],
        "versions": [
            "1.8"
        ],
        "type": [
            "Universal"
        ],
        "desc": "A multiplayer mod which allows you to ride animals."
    },
    ...
    ...
    ...
]
  • /api/v3/:版本.md5:
>>> modlist.md5hash(VERSION)
b7b9fb60af57342d6c4fc8a0fc61891b
  • /api/v3/recent.json:
>>> modlist.recent()
{
    "1.7.2": [
        "(January/16/2015)",
        "  *Updated \"Dense Ores\": Updated link to CurseForge page",
        "  +Added \"Bladecraft\"",
        "  +Added \"Better Rain\"",
        "  +Added \"DecoCraft\"",
        "  +Added \"XtraBlocks Extreme Edition\"",
        "  +Added \"Kwasti Villagers\"",
        "  +Added \"Village Marker\"",
        "  +Added \"The Seasons Mod\": Currently in Alpha"
    ],
    "1.6.4": [
        "(January/16/2015)",
        "  +Added \"DecoCraft\"",
        "  +Added \"XtraBlocks Extreme Edition\""
    ],
    "1.5.2": [
        "(January/16/2015)",
        "  +Added \"Bladecraft\"",
        "  +Added \"DecoCraft\"",
        "  +Added \"XtraBlocks Extreme Edition\""
    ]
}

许可证:

Apache v2.0 License
Copyright 2014-2015 Martin Simon

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

给我买杯咖啡?

如果你想给我买杯咖啡(或啤酒?),欢迎捐赠:

WDC : WbcWJzVD8yXt3yLnnkCZtwQo4YgSUdELkj
HBN : F2Zs4igv8r4oJJzh4sh4bGmeqoUxLQHPki
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS

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

推荐PyPI第三方库


热门话题
java需要设置框架。可设置大小(false)以重新绘制()   java我对PDF文件感到困惑   为什么是太阳。jvm。热点。调试器。DebuggerException:无法打开二进制文件`?   设置结果为textview时出现java空指针异常   我应该使用什么同步原语在Java中实现事件驱动程序框架?   java为什么WindowClosing处理程序在退出程序之前不执行后台任务?   如何将“20170712T18:43:04.000Z”转换为安卓或java中的相对时间?   Java,获取按键的时间长度,currentTimeMillies()始终为24   maven构建的java可执行Jar找不到logback。xml   java在其外部的函数中使用for循环中的值   java如何以表格格式将不同长度的数据对齐   java Play 2.5 WebSocket连接构建   maven而非eclipse的java强制转换问题   java如何在JFreeChart中使X轴上的值水平?   构建Java Windows应用程序以访问在线MySQL数据库需要什么   java添加构造函数会出错吗?这没有道理,请帮忙,编程问题   java在一个jframe中的两个JPanel中使用两个绘制方法   java数学或逻辑问题   java如何复制Androids库存摄像头方向更改