Skip to content

Xue0Huiling/linkvertise-extend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linkvertise API Extender


Initializing the linkvertise class

const Linkvertise = require('linkvertise-extend')
const UserId = 0
/*
UserId being the ID that you can find
at the end of your referral link
*/
const User = new Linkvertise(UserId)

Monetizing links

/*
Returns {token: string, url: string}
token -> can be used to check if someone went to the monetized link
url -> where the user needs to go
*/
const Link = await User.Shorten("https://example.com/")

Checking if monetized link was visited

const WasVisited = await User.IsFinished(token)

About

Linkvertise Full Script API Extender

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published