Basic script to interact with the withings API