Update pyak.py

Updated to use new registration system and API URL