Added function to generate new beta keys via api

Code is left commented out, added purely for completion.