Skip to content
dysolix edited this page Mar 21, 2024 · 6 revisions

Installation

npm install @hasagi/core

Requests

import { HasagiClient } from "@hasagi/core";

const client = new HasagiClient();
await client.connect();

// Type of response is automatically set using the auto-generated types
const response = await client.request("get", "/lol-summoner/v1/current-summoner");