Skip to content
dotHeyHeyPublic

About

๐Ÿ˜› Wrapper for Shoppy.gg API

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Shoppy.gg

Wrapper for the Shoppy.gg API

const Shoppy = require('Shoppy');

const API = new Shoppy.API(apiKey)

Installation

$ npm install shoppy

API

To make Shoppy.gg API calls you need to initate the Shoppy.API class by passing it your Shoppy.gg API Key.

All calls return a promise with the data from the response. If there is an error making the request or the status of the request from Shoppy is not "success" the promise will be rejected.

Available Functions (API Endpoints)

getOrders()

Retrieves all orders.

getSpecificOrder(ID)

Retrieves a specific order.

getProducts()

Retrieves all products.

getSpecificProduct(ID)

Retrieves a specific product.

updateProduct(ID, {})

Updates a specific product.

getCoupons()

Retrieves all coupons.

getSpecificCoupon(ID)

Retrieves a specific coupon

getQueries()

Retrieves all queries.

getSpecificQuery(ID)

Retrieves a specific query.

getWebhooks()

Retrieves all webhooks.

getSpecificWebhook(ID)

Retrieves a specific webhook.

getFeedback()

Retrieves all feedback.

getSpecificFeedback(ID)

Retrieves a specific feedback.

getTickets()

Retrieves all tickets.

getSpecificTicket(ID)

Retrieves a specific ticket.

getNotifications()

Retrieves all notifications.

markAllNotificationsAsRead()

Marks all notifications as read.

markNotificationAsRead(ID)

Marks a specific notification as read.

getUser()

Retrieves your user info.

getSettings()

Retrieves your settings.

updateSettings({})

Updates your settings.

About

๐Ÿ˜› Wrapper for Shoppy.gg API

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages