发布到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