1.0.23 • Published 1 year ago

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

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
1 year 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

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago