GeniusLink API wrapper for Node.js
npm install @mishguru/geniuslink
All of the following functions can be imported from
This must be called to declare the API key/secret and initiate the library.
Create a new group
const groupName = 'best-links-ever'
Create a new tracked link with a specific group
const url = ''const groupId = 12345
Get the total number of clicks on a specific link
const shortcode = 'r93n5'
Get details of a group based on the group name
const name = 'default'
Get details of a group based on the group id
const id = '1234'