Skip to content

JavaScript library for displaying your Etsy store products anywhere that you can put HTML, CSS and JavaScript

License

Notifications You must be signed in to change notification settings

joshua-jandyco/my-etsy-products

Repository files navigation

Overview

MyEtsyProducts is a JavaScript library that allows you to display your Etsy store products wherever you can use JavaScript and HTML.

Limitations

The Etsy API is rate limited to 10 requests per second. If your site is receiving that much traffic, you may run into some issues. When this happens, the library will direct users to your Etsy store.

Prerequisites

  1. You will need to get an Etsy API key to use MyEtsyProducts. To do so, create an Etsy App

Usage

Include the my-etsy-products JavaScript and CSS and then call the init function like so:

window.onload = function() {
    var options = {itemsPerPage: 15};
    myEtsyProducts.init("my-products","storeIdHere", "storeNameHere", 1, 'api-key-here', options);
}

For a full treatment, please see see the included example

Donate

If you feel compelled to, you can donate here:

The term 'Etsy' is a trademark of Etsy, Inc. This application uses the Etsy API but is not endorsed or certified by Etsy, Inc.

About

JavaScript library for displaying your Etsy store products anywhere that you can put HTML, CSS and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published