@midnight-theory/gatherer
v0.1.1
Published
[![license](https://img.shields.io/github/license/midnight-theory/gatherer.svg)](https://github.com/midnight-theory/gatherer/blob/master/LICENSE)
Downloads
4
Readme
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/gatherer
Gatting started
- Create config with naming
gatherer.json
with reference to your GatherContentusername
andpassword
with 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 |