Home
Alt + H

LUCAS JOSINO

@hawapi/js-sdk

HawAPI SDK for JavaScript/TypeScript designed to simplify the integration with the API.

Usage

Installation

Terminal window
npm install @hawapi/js-sdk
Terminal window
yarn add @hawapi/js-sdk
1
<script src="https://cdn.jsdelivr.net/npm/@hawapi/js-sdk/dist/index.umd.min.js"></script>

Importing and Requesting

1
import { createClient } from '@hawapi/js-sdk';
2
3
const client = createClient();
4
const result = client
5
.getAll('actors')
6
.then((data) => data)
7
.catch((err) => console.error(err));
8
9
console.log('HawAPI actors: ', result);

Target

Web, SDK, Library

Type

Project

Status

Active

Language

Typescript

Tags

TypescriptAPISDKHawAPI
RSS
Tags
Source Code
© 2024 Lucas Josino
Built with Astro