Socket
Socket
Sign inDemoInstall

itemsapi-cli

Package Overview
Dependencies
95
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    itemsapi-cli

The command line interface for ItemsAPI


Version published
Weekly downloads
1
Maintainers
1
Install size
54.5 MB
Created
Weekly downloads
 

Readme

Source

ItemsAPI

ItemsAPI CLI

Installation

$ npm install -g itemsapi-cli

Commands

Generator

Generating new ItemsAPI starter application

$ itemsapi generate my-app 

Project (collection + mapping)

Create project using JSON filename

$ itemsapi projects create --api=http://localhost:5000/api/v1 --filename=movies.json

Create project using JSON url

$ itemsapi projects create --api=http://localhost:5000/api/v1 --url=https://raw.githubusercontent.com/itemsapi/itemsapi-example-data/master/items/movies-processed.json

Collections

Print all

$ itemsapi collections list --api=http://localhost:5000/api/v1

Items

Importing data

$ itemsapi items import --collection zouespow --filename data.json --api=http://localhost:5000/api/v1

Exporting data

$ itemsapi items export --collection zouespow --api=http://localhost:5000/api/v1 > movies.json

Help

General help

$ itemsapi --help

Sub-command help

$ itemsapi items --help

Specific command help

$ itemsapi items import --help

Keywords

FAQs

Last updated on 02 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc