Get your trip history from the export tool at https://member.citibikenyc.com/profile/trips/
Examples of calculating various statistics are in the Jupyter notebook.
For getting predicted times from Google Maps, you need to export GOOGLE_MAPS_API_TOKEN=YOUR_PRIVATE_KEY
(created at https://console.developers.google.com/apis/credentials).