Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 680 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 680 Bytes

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