New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

skyblockts

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skyblockts

A robust TypeScript wrapper for the Hypixel SkyBlock API, providing type-safe access to Hypixel SkyBlock data.

latest
Source
npmnpm
Version
0.2.5
Version published
Maintainers
1
Created
Source

SkyblockTS

A robust TypeScript wrapper for the Hypixel SkyBlock API, providing type-safe access to Hypixel SkyBlock data.

NPM Version License TypeScript

Features

  • Type-Safe: Full TypeScript support with proper typing for all API responses
  • Efficient Caching: Smart caching strategy to minimize API calls
  • Easy to Use: Simple and intuitive API for accessing Hypixel SkyBlock data
  • Well Documented: Comprehensive documentation with examples

Note: Currently, SkyblockTS only supports auctions, profiles and collections. Support for more features will be added in the future.

Installation

npm install skyblockts
# or
yarn add skyblockts
# or
pnpm add skyblockts

Quick Start

SkyblockTS now offers two ways to use the package:

Simple Usage (No Configuration)

import { auctions, profiles, collections } from "skyblockts";

// Use directly without initializing
const allAuctions = await auctions.all();

// Filter auctions with various criteria
const filteredAuctions = await auctions.filter({
    itemName: "Hyperion",
    tier: "LEGENDARY",
    minPrice: 1000000,
    maxPrice: 10000000,
    binOnly: true,
});

// Get a user's profiles by their UUID
const userProfiles = await profiles.get("playerUUID");

// Get all the collections within a category
const farmingCollections = await collections.get("farming");

Advanced Usage (With Configuration)

import { SkyblockTS } from "skyblockts";

// Initialize the client with options
const client = new SkyblockTS({
    // Optional: Set a custom cache TTL in milliseconds (default: 60000)
    cacheTTL: 120000,
    // Optional: Set a custom batch size (default: 3)
    batchSize: 10,
});

// Get all auctions
const allAuctions = await client.auctions.all();

// Filter auctions with various criteria
const filteredAuctions = await client.auctions.filter({
    itemName: "Hyperion",
    tier: "LEGENDARY",
    minPrice: 1000000,
    maxPrice: 10000000,
    binOnly: true,
});

// Get a user's profiles by their UUID
const userProfiles = await client.profiles.get("playerUUID");

// Get all the collections within a category
const farmingCollections = await client.collections.get("farming");

Upcoming Features

SkyblockTS is actively being developed with the following features planned:

  • Bazaar API: Access to real-time bazaar data
  • Skills & Stats: Access player skills and statistics
  • Dungeons: Data related to dungeon runs and statistics
  • More Utilities: Helper functions for SkyBlock-specific calculations
  • Documentation: Improved documentation with more examples and use cases

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

  • Fork the repository
  • Create your feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'Add some amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Keywords

hypixel

FAQs

Package last updated on 16 Apr 2025

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