How to get all activities about a contact?

API getContact() returns last Activity… If it were possible get a collection of activities, It would be great!.
I’m looking to forward these data to external pipeline for ML analysis a stuff like callback respond time, sentiment analysis, etc.

All clues are welcomed.