0.1.1 • Published 5 years ago
@midnight-theory/gatherer v0.1.1
Gatherer
Gather content from GatherContent.
Originally written from @kyleoliveiro, modified by @aaronkow to fetch V2 API from GatherContent.

Installation
# For npm
$ npm i -g @midnight-theory/gatherer
# For yarn
$ yarn global add @midnight-theory/gathererGatting started
- Create config with naming
gatherer.jsonwith reference to your GatherContentusernameandpasswordwith format:
{
"username": "<your-email>",
"password": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"project": "888888",
"pages": "./dest"
}- Then run
gatherer. That's all.
Config for gatherer.json
| Key | Explaination |
|---|---|
username | Specify your username here, which is the email you registered with GatherContent |
password | Password is your API key which you can generate via API tab under "Personal settings" |
project | This is the project ID which you can obtain from via project link |
pages | Specify where the data should be stored |