1.0.23 • Published 3 years ago

@mine-your-business/lofty-api v1.0.23

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

myb-lofty-api

An unofficial API client for the unofficial Lofty API

Lofti AI: https://lofty.ai/

API: https://api.lofty.ai/prod

Installation

The package is availble via NPM and can be installed with the following command:

npm install @mine-your-business/lofty-api

Examples

A script using this library would look something like this:

import { LoftyApi } from '@mine-your-business/lofty-api';

await LoftyApi.authenticate('myloftyemail@gmail.com', 'greatPassword');

var userInfo = await LoftyApi.Endpoints.User.getUserInfo();

console.log(userInfo);

Testing

This project has no tests yet - feel free to open a PR!

Releases

Releases should follow a Semantic Versioning scheme.

When changes have been made that warrant a new release that should be published, modify the version in package.json

After the change is merged to the main branch, go to releases and Draft a new release. The Tag version should follow the pattern v1.0.0 and should Target the main branch.

The Release title should not include the v from the tag and should have a reasonably detailed description of the new release's changes.

Once the release has been published, the .github/workflows/node-publish.yml GitHub Actions Workflow should trigger and automatically upload the new version to PyPi using GitHub secrets credentials.

Not-so-secret Keys

Certain values found in loftyApi.ts are copied from the Lofty AI Website where they conveniently left their source maps. Those values are in fact not tied to a personal account with Lofty AI, but are instead specific to their deployments.

1.0.23

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago