/json-exporter

^_^

Primary LanguageJavaScriptMIT LicenseMIT

json-exporter

Downloads all club's posts from the site 'my.ya.ru' by the given url and transforms them to github API structure

Install

$ git clone https://github.com/eGavr/json-exporter.git

$ cd json-exporter

$ npm i

Usage

$ bin/json-exporter --help

Usage:
  json-exporter [OPTIONS] [ARGS]


Options:
  -h, --help : Help
  -v, --version : Shows the version number
  --url=URL : URL-path to the latest data in club which is kept in JSON-format (required)
  -o OUTPUT, --output=OUTPUT : Output JSON-file

Example

$ bin/json-exporter --url=http://api-yaru.yandex.ru/club/4611686018427404475/post/?format=json --output=res.json