Skip to content

shopinvader/shopinvader-js-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@shopinvader/fetch

Library to provide a Shopinvader API client support for client-side or server-side applications. Also fetch Elasticsearch indices to retrieve data used by the Shopinvader API (products and categories)

Features

  • Fetch Shopinvader Odoo API
  • Support Elasticsearch indicies data fetcher

Getting started

Installation

NPM

[TODO] Need a registration to NPM

npm install https://github.com/shopinvader/shopinvader-js-fetch --save

YARN

[TODO] Need a registration to NPM

yarn add https://github.com/shopinvader/shopinvader-js-fetchshopinvader-jsshopinvader-js

Usage

import {ErpFetch} from "@shopinvader/fetch"
const erp = new ErpFetch(
  <API URL >,
  <API WEBSITE UNIQUE KEY >
)
/* API Call : Get user addresses*/
erp.get("/addresses").then((addresses) => {
  console.log(addresses)
shopinvader-js})

License

License

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published