@hosterai/provider-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

HosterAI Service Provider Client


Simple package client for service providers


This package is provided by HosterAI as an easy communication way between service providers and Hoster API.

Installation

npm i --save @hosterai/provider-client

Usage

import { Client } from "@hosterai/provider-client"

const client = new Client("API URL", "SERVICE PROVIDER TOKEN")

With this package you can view, create, modify and delete

  • Templates
  • Products
  • Addons
  • Tasks
  • Issues

Request DTOs for each service can be imported from this package for easier data completion.

eg: import { AddonDto } from '@hosterai/provider-client'

Readme

Keywords

Package Sidebar

Install

npm i @hosterai/provider-client

Weekly Downloads

2

Version

0.0.10

License

MIT

Unpacked Size

57.8 kB

Total Files

52

Last publish

Collaborators

  • hosterai