0.1.1 • Published 4 years ago

@midnight-theory/gatherer v0.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

license

Gatherer

Gather content from GatherContent.

Originally written from @kyleoliveiro, modified by @aaronkow to fetch V2 API from GatherContent.

Demo

Installation

# For npm
$ npm i -g @midnight-theory/gatherer

# For yarn
$ yarn global add @midnight-theory/gatherer

Gatting started

  1. Create config with naming gatherer.json with reference to your GatherContent username and password with format:
{
  "username": "<your-email>",
  "password": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "project": "888888",
  "pages": "./dest"
}
  1. Then run gatherer. That's all.

Config for gatherer.json

KeyExplaination
usernameSpecify your username here, which is the email you registered with GatherContent
passwordPassword is your API key which you can generate via API tab under "Personal settings"
projectThis is the project ID which you can obtain from via project link
pagesSpecify where the data should be stored