1.0.6 • Published 6 years ago

aminoclient v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

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.

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago