working with trademe api