magentoclient.py calls first resource