1.2.8 • Published 2 years ago
nomanilist v1.2.8
nom nom automated AL user in just a few lines of JS nom nom
using AL API
~Fast ~Stable
Install
through terminal
npm i nomanilist
using
const nom = require('nomanilist');
oAuth Token
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
})()
fetch (GET)
user
, media
, character
, staff
, studio
, activity
, activity replies
, thread
, thread comment
, review
, notifications
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
var user = await nom.GETuser('username');
console.log(user);
})()
sending, posting activities (SEND)
, (POST)
message
, activity
, activityRE
, thread
, threadCOM
, review
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
var owo = 'img(https://c.tenor.com/i3pR9emucLgAAAAC/what-dog.gif)';
console.log('storted nomming');
var irray = await nom.GETuser('irray');
await nom.SENDmessage(owo, irray.data.User.id, false);
var RemTheBlue = await nom.GETuser('RemTheBlue');
await nom.SENDmessage(owo, RemTheBlue.data.User.id, false);
console.log('stopped nomming');
})()
editting activities (EDIT)
message
, activity
, activityRE
, thread
, threadCOM
, review
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
var owo = 'img(https://64.media.tumblr.com/aebabac6806e97ee44ddb5b97ba3f326/tumblr_n481nn6i3p1tqbvxho1_500.jpg)';
await nom.EDITmessage(306455537, owo);
console.log('edited');
})()
deleting activities (DEL)
activity
, activityRE
, thread
, threadCOM
, review
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
await nom.DELactivity(306455537);
console.log('deleted');
})()
user (USER)
color
, badge
, about
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
while(true) {
await nom.USERcolor('pink');
await new Promise(resolve => setTimeout(resolve, 2000));
await nom.USERcolor('purple');
await new Promise(resolve => setTimeout(resolve, 2000));
await nom.USERcolor('blue');
await new Promise(resolve => setTimeout(resolve, 2000));
}
while(true) {
await nom.USERbadge('OwO');
await new Promise(resolve => setTimeout(resolve, 2000));
await nom.USERbadge('UwU');
await new Promise(resolve => setTimeout(resolve, 2000));
await nom.USERbadge('>w<');
await new Promise(resolve => setTimeout(resolve, 2000));
}
while(true) {
await nom.USERabout('hi');
await new Promise(resolve => setTimeout(resolve, 2000));
await nom.USERabout('am');
await new Promise(resolve => setTimeout(resolve, 2000));
await nom.USERabout('Rim');
await new Promise(resolve => setTimeout(resolve, 2000));
}
})()
follow, like activities (TOGGLE)
follow
, like
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
var irray = await nom.GETuser('irray');
await nom.TOGGLEfollow(irray.data.User.id);
})()
add, update, delete media list
ADD
, UPDATE
, DEL
const nom = require('nomanilist');
(async()=> {
await nom.SETtoken('token');
var sao = await nom.GETmedia('Sword Art Online');
await nom.ADDlistentry(sao, 'CURRENT', 100, 1, 1, false, 'I like Sword Art Online');
})()
All noms
GETuser
, GETmedia
, GETcharacter
, GETstaff
, GETstudio
, GETactivity
, GETactivityRE
, GETthread
, GETthreadCOM
, GETreview
, GETnotifications
, SENDmessage
, EDITmessage
, POSTactivity
, EDITactivity
, DELactivity
, POSTactivityRE
, EDITactivityRE
, DELactivityRE
, POSTthread
, EDITreview
, DELreview
, RATEreview
, TOGGLElike
, TOGGLEfollow
, SUBSCRIBEactivity
, SUBSCRIBEthread
, USERcolor
, USERabout
, USERbadge
, USERfavourite
, ADDlistentry
, UPDATElistentry
, DELlistentry
await nom.GETuser('username');
await nom.GETmedia('name', 'mediaTYPE');
await nom.GETcharacter('name');
await nom.GETstaff('name');
await nom.GETstudio('name');
await nom.GETactivity(actID);
await nom.GETactivityRE(REid);
await nom.GETthread(threadID);
await nom.GETthreadCOM(COMid);
await nom.GETreview(reviewID);
await nom.GETnotifications(true/false); //reset notif count (Boolean)
await nom.SENDmessage('text', userID, false/true); //private (Boolean)
await nom.EDITmessage(msgID, 'text', userID);
await nom.POSTactivity('text');
await nom.EDITactivity(actID, 'text');
await nom.DELactivity(actID); //can also be used to delete a message [await nom.DELactivity(msgID);]
await nom.POSTactivityRE(actID, 'text');
await nom.EDITactivityRE(REid, 'text');
await nom.DELactivityRE(REid);
await nom.POSTthread('title', 'body', categories, mediaCAT);
await nom.EDITthread(threadID, 'title', 'body', categories, mediaCAT);
await nom.DELthread(threadID);
await nom.POSTthreadCOM(threadID/COMid, 'text'); //provide threadID to post a thread comment and COMid to post a thread comment reply
await nom.EDITthreadCOM(COMid/REid, 'text'); //provide threadID to edit a thread comment and COMid to edit a thread comment reply
await nom.DELthreadCOM(COMid/REid); //provide threadID to delete a thread comment and COMid to delete a thread comment reply
await nom.POSTreview(mediaID, 'body', 'summary', score, true/false); //private (Boolean)
await nom.EDITreview(reviewID, mediaID, 'body', 'summary', score, true/false); //private (Boolean)
await nom.DELreview(reviewID);
await nom.RATEreview(reviewID, rating);
await nom.TOGGLElike(likableID, 'likableTYPE');
await nom.TOGGLEfollow(userID);
await nom.SUBSCRIBEactivity(actID, true/false); //private (Boolean)
await nom.SUBSCRIBEthread(threadID, true/false); //private (Boolean)
await nom.USERcolor('color');
await nom.USERabout('text');
await nom.USERbadge('text');
await nom.USERfavourite(id, 'favouriteTYPE');
await nom.ADDlistentry(mediaID, 'statusTYPE', score, progress, repeat, true/false, 'note') //private (Boolean)
await nom.UPDATElistentry(entryID, mediaID, 'statusTYPE', score, progress, repeat, true/false, 'note') //private (Boolean)
await nom.DELlistentry(entryID);
TYPES
mediaTYPE
, likableTYPE
, favouriteTYPE
, statusTYPE
mediaTYPE:
ANIME
MANGA
likableTYPE:
THREAD
THREAD_COMMENT
ACTIVITY
ACTIVITY_REPLY
favouriteTYPE:
anime
manga
character
staff
studio
statusTYPE:
CURRENT
PLANNING
COMPLETED
DROPPED
PAUSED
REPEATING
License