1.0.1 • Published 5 years ago

export-answerhub-data v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

export-answerhub-data

CircleCI codecov

Export question data from Answerhub using this CLI!

Can generate data reports in CSV or JSON format!

Filter by space, topics, and question creation date!

Install

npm install -g export-answerhub-data

CLI How To

Usage: export-answerhub-data [options] <host> <username> <password> [start] [end]

Options:
  -V, --version               output the version number
  -t, --topics <topics>       A comma separated list of topics to filter questions by. If multiple topics are supplied, the question must be ALL topics to be returned.
  -s, --space <space>         Filter by questions belonging to a certain space. 
  -p, --page-size <pageSize>  The page size to use for each request. Lower it if the tool seems to fail or be slow. (default: 15)
  -f, --file-type <format>    Export the data in a particular format (default is csv). 
  	 Formats available: csv,json
  -h, --help                  output usage information

[start] and [end] represent date range filters.
They must be provided in ISO-8061 format.
Examples:
  2008-09-15
  2008-09-15T15:53:00
  2008-09-15T15:53:00+05:00