Drupal Collector API module. Stores pages visits information in the database and provides options to export the data in variety of formats: JSON, YAML, CSV.