Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

A small program used to get release notes from Mojang server. And convert it to the flow document, then you can do whatever you want!

Notifications You must be signed in to change notification settings

Corona-Studio/MojangGameReleaseNoteParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MojangGameReleaseNoteParser [obsolete]

A small program used to get release notes from Mojang server. And convert it to the flow document.

How To Use

Install

  yarn install
  rm -rf ./node_modules/consola/types

Build

  yarn build

Configuration

  cd build/
  vim(vi) ./config.json

Run (In Production Mode)

  node ./index.js Or yarn run

Configuration File Description

It is important to modify the config.json

  • checkInterval: News check interval, in millisecond.
  • port: Server port

How To Get News Using Rest API?

I provided two routes to get the result from the program

  • "http://[ADDRESS]:[PORT]/rest/api/rN/": This is the default route to get the notes, by default, it will return all of them.
  • "http://[ADDRESS]:[PORT]/rest/api/rN/:type": This api has a custom parameter "type", you can specify which release channel you wanna fetch.

About

A small program used to get release notes from Mojang server. And convert it to the flow document, then you can do whatever you want!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages