minecraft-curseforge-getter
v0.1.2
Published
Get information from minecraft.curseforge.com. Surely it's a crawler.
Downloads
10
Readme
Minecraft CurseForge Getter
English | Chinese
Introduction
This is a CurseForge crawler written in javascript. It can crawl data from CurseForge, including mod information and modpack information.
Usage
First, you should add this package to your project.
// We really recommend you to use yarn
yarn add minecraft-curseforge-getter
// Traditional npm is also accessable
npm install minecraft-curseforge-getter --save
// And if you're in mainland China
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install minecraft-curseforge-getter --save
Then, you can use as tests go. Here's an example.
import { curseforge } from "minecraft-curseforge-getter";
curseforge.getPage(1, {}, mods => {
console.log(mods.length);
});
Contribution
WIP.