Class MuseRequest

An optional NodeJS client for making requests to the API.

You must provide an API key.

Example

const client = new MuseRequest('API_KEY');
// or
const client = new MuseRequest('API_KEY', 'Your own API base URL');

Hierarchy

  • MuseRequest

Constructors

Methods

Constructors

  • new MuseRequest(apiKey: string, apiUrl?: string): MuseRequest
  • Parameters

    • apiKey: string
    • apiUrl: string = MUSE_API_BASE_URL

    Returns MuseRequest

Methods

Generated using TypeDoc