Add Api function to get random tag value add key authentication

Closes #4 & Closes #6