Options
All
  • Public
  • Public/Protected
  • All
Menu

Class API

Hierarchy

  • API

Index

Constructors

Properties

Methods

Constructors

constructor

  • new API(apiKey: string): API
  • Parameters

    • apiKey: string

    Returns API

Properties

apiKey

apiKey: string

Methods

get

  • get(endpoint: string, params?: any): Promise<any>
  • Gets an endpoint from the osu! API.

    Parameters

    • endpoint: string
    • Optional params: any

    Returns Promise<any>

Generated using TypeDoc