0.0.4 • Published 4 years ago
user-verify v0.0.4
user-verify
user-verify is an NPM Package for verifying users account ownership on multiple websites by checking their status with a phrase.
const uver = require('user-verify')
//Generates a phrase using random words
//Paramater: Word Count | Defualt: 7
uver.genPhrase(6)
//Checks if phrase matches status on specific site
//Parameter: Method | One of the specified sites below
//Parameter: Indentifier | The specific identifier for the chosen method (See Documentation)
//Parameter: Phrase | The phrase to check the status with
uver.check('method','identifier','phrase')
//Example:
var phrase = uver.genPhrase()
console.log(`Change your status to "${phrase}"`)
setTimeout(function() {
uver.check('roblox','1',phrase).then(matches=>console.log(matches))
//Returns false if roblox user with id 1's status isn't equal to phrase
//Returns true if it is equal to phrase
}, 15000);
Please note it is asynchronous
Currently Supported Sites:
- Roblox
- Fandom
- Glitch
Identifiers:
Roblox - UserID
- Fandom - Username
- Glitch - Username (e.g. @userterminal) (Don't include the @)
- Github - Username
Identifiers may be Case-Sensitive