Added a getDetails method to the API module. Updated the documentation to reflect.