first stab at get api python wrapper