Minecraft-Forge-Optifine

FREE
By nitroxenon
Updated 5 months ago
Entertainment
3.9/10
Popularity Score
2629ms
Latency
67%
Success Rate

Minecraft-Forge-Optifine API Documentation

This api is used to get version list and download for Minectaft, Forge and Optifine.

View API Details
Forge
GETforgeVersionList
GETforgeLegacyList
GETdownloadForgeInstaller
Optifine
GEToptifineVersionList
GETdownloadOptimize
Minecraft
GETminecraftVersionList
GETdownloadMinecraftJar
GETdownloadMinecraftJson
GETdownloadMinecraftJarChecksum
GETminecraftResources
GETforgeVersionList

This method return a forge version list in JSON format.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://nitroxenon-minecraft-forge-v1.p.rapidapi.com/forge/versionlist")
.header("X-RapidAPI-Host", "nitroxenon-minecraft-forge-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://nitroxenon-minecraft-forge-v1.p.rapidapi.com/forge/versionlist
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://nitroxenon-minecraft-forge-v1.p.rapidapi.com/forge/versionlist")
.header("X-RapidAPI-Host", "nitroxenon-minecraft-forge-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication