updated to api v3 fast and dirty TODO: conf file for tokens