New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stosp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stosp

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Stosp

Introduction

Client library for 100sp API. Supports all proposed endpoints.

Installation

Add following line to your Gemfile:

# Gemfile
gem 'stosp'

Or install it system-wide:

$ gem install stosp

Usage

First, init client with token:

token = 'YOUR_ACCESS_TOKEN'
client = Stosp::Client.new(access_token: token)

And than talk API with options (if required):

client.purchase_export_meta(purchase)

List of all methods

Check the official API docs for more information and available options of methods

available_distributors -> GET
calculate(options) -> POST
check_orders(mega_order_id, orders = []) -> POST
create(options) -> POST
export_full_report -> GET
export_purchases_list -> GET
import(options) -> POST
process_orders(pid, options = {}) -> GET
purchase_export(options = {}) -> GET
purchase_export_meta(purchase) -> GET
sticker_print(mega_order_ids, options = {}) -> GET

FAQs

Package last updated on 08 Jul 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc