Socket
Book a DemoInstallSign in
Socket

@escaladesports/gatsby-source-esca-api

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@escaladesports/gatsby-source-esca-api

Used to get product information for escalade sports into gatsby.

latest
npmnpm
Version
0.2.0
Version published
Maintainers
6
Created
Source

@escaladesports/gatsby-source-esca-api

Used to get product information for escalade sports into gatsby.

Implementation

Inside of gatsby-config.js

{
 resolve: `@escaladesports/gatsby-source-esca-api`,
 options: {
  site: `lifeline`, // site-id you are using
  env: `prod`, // environment you wish to retrieve products from
  fields: [`inventory`, `price`], // base fields you wish to query
  salsify: [`Web Images`], // any other salsify fields --> NO SUPPORT FOR GATSBY IMAGE THOUGH
  apiKey: X_API_KEY, // X-API-KEY needed to pass to esca api's
 },
},

This returns two types: EscaladeProducts and allEscaladeProducts

FAQs

Package last updated on 26 Aug 2020

Did you know?

Socket

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