Skip to content

eGavr/json-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published