1.0.3 • Published 1 year ago

lambdagen-wrapper v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

LambdaGen-Wrapper is a package that allows you to interact with the LambdaGeneration community website. It provides a simple and easy-to-use interface for performing various actions on the website, such as creating posts and retrieving categories and communities.

The current version of the library it allows users to perform a range of essential tasks, including logging in, creating text and image posts, and retrieving categories and communities based on their names.

In the upcoming update, users can expect to access a wider range of features, including the ability to create and handle video posts, delete posts, and retrieve detailed information about likes and emojis associated with posts. These features will provide users with greater flexibility and functionality, enhancing their overall experience with the library.

Basics: To showcase the current state of the lambdagen-wrapper library, a simple example program has been developed:

const { login } = require('lambdagen-wrapper');
const { postText } = require('lambdagen-wrapper');
const { getIds }  = require('lambdagen-wrapper')

async function main() {

    const { token } = await login('email', 'password');
    console.log(token);

    const {hiveId, categoryId} = await getIds("lambdageneration", "fan-creations");
    postText('Hello from lambdagen-wrapper!', hiveId, categoryId, token)
  }

main();

This code doesn't address how to post images, which is managed in the following way:

postImage('path/to/image', 'this is a caption', hiveId, categoryId, token)
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago