0.2.0 • Published 4 years ago

@escaladesports/gatsby-source-esca-api v0.2.0

Weekly downloads
8
License
ISC
Repository
-
Last release
4 years ago

@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

0.2.0

4 years ago

0.1.0

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago