node-papermc
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

node-papermc

functions

BASE_URL: string

Base URL of rest api

getProjectInfo(project: string): Promise<PaperProjectInfos>

Get project id, project name, version groups, versions

getVersionInfo(project: string, version: string) Promise<PaperVersionInfos>

Get project id, project name, version, builds

getVersionGroupInfo(project: string, version_group: string): Promise<PaperVersionGroupInfos>

Get project id, project name, version group, versions

getVersionGroupBuilds(project: string, version_group: string): Promise<PaperVersionGroupBuilds>

Get project id, project name, version group, versions, builds

getBuildInfo(project: string, version: string, build: number): Promise<PaperBuildInfos>

Get project id, project name, build, time, changes, downloads

download(project: string, version: string, build: number, name: string): Promise<Blob>

Get build file blob

examples

javascript example

typescript example

Readme

Keywords

Package Sidebar

Install

npm i node-papermc

Weekly Downloads

9

Version

1.0.1

License

MIT

Unpacked Size

12.5 kB

Total Files

9

Last publish

Collaborators

  • catry