Socket
Book a DemoInstallSign in
Socket

@mineapi/sdk

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@mineapi/sdk

The easiest way to use MineAPI.

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

@mineapi/sdk

Do you need my help? Visit our Discord server.

NPM Downloads License

Node Version: 16.16.0

Installation

npm i @mineapi/sdk --save
# or
yarn add @mineapi/sdk

Usage

// CJS
// const { getSkin, getProfile, getCape, getServer, getUUID, getBust, getBody, getHead, Achievement  } = require("@mineapi/sdk");

// ESM
import { getSkin, getProfile, getCape, getServer, getUUID, getBust, getBody, getHead } from "@mineapi/sdk";

(async () => {
    const skin = await getSkin("clquu");
    console.log(skin);

    const profile = await getProfile("clquu");
    console.log(profile);

    const cape = await getCape("clquu", "mojang");
    console.log(cape);

    const server = await getServer("mc.hypixel.net");
    console.log(server);

    const uuid = await getUUID("clquu");
    console.log(uuid);

    const bust = await getBust("clquu");
    console.log(bust);

    const body = await getBody("clquu");
    console.log(body);

    const head = await getHead("clquu");
    console.log(head);

    const achievement = new Achievement({ title: "Test", description: "sdk test", icon: "blockOfDiamond" }).create();
    console.log(image); // Return: Buffer

    const icons = Achievement.getIcons();
    console.log(icons);
})();
Developed with ❤️ by MineAPI

Keywords

minecraft

FAQs

Package last updated on 31 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts