New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

aminoclient

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aminoclient

Library to interact with Amino endpoints.

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

AminoClient

Node.js module that wraps the Amino endpoints in easy to use library

I want to use Amino in my PC, this is not what im looking for?

Nop, this is not what you are looking for, but maybe AminoPC it is.

Installation

npm i -s aminoclient
yarn add aminoclient

Example usage

import AminoClient from "aminoclient"; //typescript / ES6 modules
const AminoClient = require("aminoclient").default; //javascript / commonjs


(async () => {
    const auth = await AminoClient.login("**USERNAME**", "**PASSWORD**", "**DEVICEID**");
    console.log(`Your nickname is : ${auth.account.nickname}`);
    
    const joinedComms = await AminoClient.getJoinedCommunities(0, 5);
    console.log(`You are joined to ${joinedComms.communityList.length} communities.`);

    for (const community of joinedComms.communityList) {
        console.log(`Community ${community.name} contains ${community.membersCount} members.`);
        const checkIn = await AminoClient.checkIn(community.ndcId);
        if(checkIn["api:statuscode"] !== 0)
            console.log("You already checked in in this community today!");
    }
})();

You can explore the rest of the API using this module with TypeScript meanwhile the documentation is WIP.

DeviceID?

Take a look at my AminoPC repo where I explain how to get one meanwhile the cool guys at AminoREAPI find a way to generate one from thin air.

FAQs

Package last updated on 21 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts