Add some logging to proxy.
Update API library JSON, add callback for when generating from just a passed token.