a generic crawler to navigate through API's