modified scribe library for withings api