1.0.234 • Published 1 year ago

lotus-node v1.0.234

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Lotus Node.js Library

MIT License

Official Lotus Node library to capture and send events to any Lotus instance (self-hosted or cloud).

Installing

Install the lotus-node package for use in your node.js based backend.

npm install lotus-node

Initializing

First grab a new api key from the Settings tab. Then change the host to wherever you want to send data to and omit the line if you are using Lotus Cloud.

const lotus = new Lotus(api_key, {
    host: 'https://www.uselotus.app/', // You can omit this line if using Lotus Cloud
})

Currently Supported Methods

1. TrackEvent
2. Get All Customers
3. Get Customer Details
4. Create Customer
5. Create Subscription
6. Cancel Subscription
7. Change Subscription
8. Get All Subscriptions
9. Get Subscription Details
10. Get All Plans
11. Get Customer Access

Making calls

Please refer to the Lotus documentation for more information on how to use the library.

Questions?

Join our Slack community.

Thank you

This library is largely based on the posthog-node package.

1.0.227

2 years ago

1.0.226

2 years ago

1.0.225

2 years ago

1.0.231

1 year ago

1.0.230

2 years ago

1.0.233

1 year ago

1.0.232

1 year ago

1.0.234

1 year ago

1.0.224

2 years ago

1.0.223

2 years ago

1.0.222

2 years ago

1.0.221

2 years ago

1.0.220

2 years ago

1.0.219

2 years ago

1.0.218

2 years ago

1.0.217

2 years ago

1.0.216

2 years ago

1.0.215

2 years ago

1.0.214

2 years ago

1.0.213

2 years ago

1.0.212

2 years ago

1.0.211

2 years ago

1.0.210

2 years ago

1.0.209

2 years ago

1.0.208

2 years ago

1.0.207

2 years ago

1.0.206

2 years ago

1.0.205

2 years ago

1.0.204

2 years ago

1.0.203

2 years ago

1.0.202

2 years ago

1.0.201

2 years ago

1.0.200

2 years ago

1.0.20

2 years ago

1.0.199

2 years ago

1.0.198

2 years ago

1.0.197

2 years ago

1.0.196

2 years ago

1.0.195

2 years ago

1.0.194

2 years ago

1.0.193

2 years ago

1.0.192

2 years ago

1.0.191

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago