source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | rossta/tacokit.rb | https://github.com/rossta/tacokit.rb | spec/tacokit/client/searches_spec.rb | Ruby | mit | 49 | master | 230 | require "spec_helper"
describe Tacokit::Client::Searches do
describe "#search", :vcr do
it "returns search result" do
search = app_client.search("taco")
expect(search.members).to_not be_empty
end
end
end |
github | rossta/tacokit.rb | https://github.com/rossta/tacokit.rb | spec/tacokit/client/members_spec.rb | Ruby | mit | 49 | master | 4,439 | require "spec_helper"
describe Tacokit::Client::Members do
describe "#member", :vcr do
it "returns a member" do
member = app_client.member("rossta")
expect(member.username).to eq("rossta")
assert_requested :get, trello_url_template("members/rossta{?key,token}")
end
it "returns self" d... |
github | rossta/tacokit.rb | https://github.com/rossta/tacokit.rb | spec/tacokit/client/boards_spec.rb | Ruby | mit | 49 | master | 4,816 | require "spec_helper"
describe Tacokit::Client::Boards do
describe "#board", :vcr do
it "returns a token authorized board" do
board = app_client.board(test_board_link)
expect(board.name).to eq("Test Board")
end
it "returns oauth authorized board" do
board = oauth_client.board(test_boa... |
github | rossta/tacokit.rb | https://github.com/rossta/tacokit.rb | spec/tacokit/client/types_spec.rb | Ruby | mit | 49 | master | 227 | require "spec_helper"
describe Tacokit::Client::Types do
describe "#type", :vcr do
it "returns a type by id" do
type = app_client.type(test_org_name)
expect(type.type).to eq "organization"
end
end
end |
github | fnando/burgundy | https://github.com/fnando/burgundy | burgundy.gemspec | Ruby | mit | 49 | main | 1,083 | # frozen_string_literal: true
require "./lib/burgundy/version"
Gem::Specification.new do |spec|
spec.name = "burgundy"
spec.version = Burgundy::VERSION
spec.authors = ["Nando Vieira"]
spec.email = ["fnando.vieira@gmail.com"]
spec.description = "A simple wrapper for objects in ... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/test_helper.rb | Ruby | mit | 49 | main | 640 | # frozen_string_literal: true
require "simplecov"
SimpleCov.start do
add_filter "/test/"
end
require "bundler/setup"
Bundler.setup
require "minitest/utils"
require "minitest/autorun"
require "ostruct"
ENV["RAILS_ENV"] = "test"
require File.expand_path("dummy/config/environment.rb", __dir__)
require "burgundy"
I... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/unit/burgundy_test.rb | Ruby | mit | 49 | main | 6,765 | # frozen_string_literal: true
require "test_helper"
class BurgundyTest < Minitest::Test
let(:wrapper) { Class.new(Burgundy::Item) }
let(:wrapper_with_args) { ItemWithAdditionalArgs }
let(:wrapper_with_kwargs) { ItemWithKeywordArgs }
test "delegates everything" do
item = wrapper.new("hello")
assert_e... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/integration/burgundy_test.rb | Ruby | mit | 49 | main | 707 | # frozen_string_literal: true
require "test_helper"
class BurgundyTest < Minitest::Test
include Rack::Test::Methods
def app
Rails.application
end
test "renders collection with custom partial path" do
get "/users"
html = Nokogiri(last_response.body)
h1s = html.css("h1")
assert_equal 2, h... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/dummy/config/application.rb | Ruby | mit | 49 | main | 289 | # frozen_string_literal: true
require File.expand_path("boot", __dir__)
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_model/railtie"
Bundler.require(*Rails.groups)
require "burgundy"
module Dummy
class Application < Rails::Application
end
end |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/dummy/config/initializers/secret_token.rb | Ruby | mit | 49 | main | 690 | # frozen_string_literal: true
# Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words ... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/dummy/config/environments/production.rb | Ruby | mit | 49 | main | 3,280 | # frozen_string_literal: true
Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, ... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/dummy/config/environments/development.rb | Ruby | mit | 49 | main | 1,144 | # frozen_string_literal: true
Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you do... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/dummy/config/environments/test.rb | Ruby | mit | 49 | main | 1,421 | # frozen_string_literal: true
Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "... |
github | fnando/burgundy | https://github.com/fnando/burgundy | test/dummy/app/controllers/users_controller.rb | Ruby | mit | 49 | main | 321 | # frozen_string_literal: true
class UsersController < ApplicationController
def index
presenter = Class.new(Burgundy::Item) do
def to_partial_path
"users/profile"
end
end
@users = presenter.wrap([
OpenStruct.new(name: "John"),
OpenStruct.new(name: "Mary")
])
end
end |
github | fnando/burgundy | https://github.com/fnando/burgundy | lib/burgundy.rb | Ruby | mit | 49 | main | 200 | # frozen_string_literal: true
require "delegate"
require "burgundy/version"
require "burgundy/guard"
require "burgundy/item"
require "burgundy/collection"
require "burgundy/rails" if defined?(Rails) |
github | fnando/burgundy | https://github.com/fnando/burgundy | lib/burgundy/item.rb | Ruby | mit | 49 | main | 963 | # frozen_string_literal: true
module Burgundy
class Item < SimpleDelegator
attr_reader :item
def self.inherited(child)
super
child.attributes(attributes)
end
def self.wrap(collection, *, **)
Collection.new(collection, self, *, **)
end
def self.attributes(*args)
@att... |
github | fnando/burgundy | https://github.com/fnando/burgundy | lib/burgundy/rails.rb | Ruby | mit | 49 | main | 1,207 | # frozen_string_literal: true
module Burgundy
module UrlMethods
def default_url_options
action_mailer_default_url_options ||
Rails.application.routes.default_url_options
end
def action_mailer_default_url_options
return unless Rails.configuration.respond_to?(:action_mailer)
Rai... |
github | fnando/burgundy | https://github.com/fnando/burgundy | lib/burgundy/collection.rb | Ruby | mit | 49 | main | 736 | # frozen_string_literal: true
module Burgundy
class Collection
def initialize(items, wrapping_class = nil, *args, **kwargs)
@items = items
@wrapping_class = wrapping_class
@args = args
@kwargs = kwargs
end
def method_missing(name, *, &) # rubocop:disable Style/MissingRespondToMis... |
github | fnando/burgundy | https://github.com/fnando/burgundy | lib/burgundy/guard.rb | Ruby | mit | 49 | main | 505 | # frozen_string_literal: true
module Burgundy
class Guard
def initialize(item)
@item = item
end
def method_missing(name, *)
class_name = @item.class.name || @item.class.inspect
error_message = %W[
#{class_name} was initialized without a delegating object and
didn't impl... |
github | tinova/one-tools | https://github.com/tinova/one-tools | ansible_inventory.rb | Ruby | apache-2.0 | 49 | master | 4,897 | #!/usr/bin/ruby
# This inventory extracts VM information from OpenNebula to be used by Ansible.
# The following information is obtained:
# * All the parameters in the Context and in the User Template
# * Disk information: size, image_id and persistancy
# * Network information: IP, MAC address, etc
# Only VMs that m... |
github | schuyler/levenshtein | https://github.com/schuyler/levenshtein | Rakefile | Ruby | bsd-2-clause | 49 | master | 923 | begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = 'levenshtein-ffi'
gemspec.summary = 'An FFI version of the levenshtein gem.'
gemspec.description = 'Provides a fast, cross-Ruby implementation of the ' \
'levenshtein distance algorithm.'
gems... |
github | schuyler/levenshtein | https://github.com/schuyler/levenshtein | levenshtein-ffi.gemspec | Ruby | bsd-2-clause | 49 | master | 2,287 | # Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
# stub: levenshtein-ffi 1.2.0 ruby lib
# stub: ext/levenshtein/extconf.rb
Gem::Specification.new do |s|
s.name = "levenshtein-ffi".freeze
s.version = "1.2.0"
s.req... |
github | schuyler/levenshtein | https://github.com/schuyler/levenshtein | spec/levenshtein_spec.rb | Ruby | bsd-2-clause | 49 | master | 1,064 | require 'spec_helper'
describe Levenshtein do
fixtures = [
['hello', 'hello', 0],
['hello', 'helo', 1],
['hello', 'jello', 1],
['hello', 'helol', 1],
['hello', 'hellol', 1],
['hello', 'heloll', 2],
['hello', 'cheese', 4],
['hello', 'saint', 5],
['hello', '', 5]
]
fixtures.eac... |
github | schuyler/levenshtein | https://github.com/schuyler/levenshtein | lib/levenshtein.rb | Ruby | bsd-2-clause | 49 | master | 767 | require 'ffi'
module Levenshtein
class << self
extend FFI::Library
# Try loading in order.
library = File.dirname(__FILE__) + '/levenshtein'
candidates = ['.bundle', '.so', '.dylib', ''].map { |ext| library + ext }
ffi_lib(candidates)
# Safe version of distance, checks that arguments are re... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | amz_sp_api.gemspec | Ruby | apache-2.0 | 49 | main | 1,532 | # -*- encoding: utf-8 -*-
=begin
#Selling Partner APIs for Fulfillment Outbound
#The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential an... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-invoices-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,205 | =begin
#Selling Partner API for Retail Procurement Payments
#The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Common files
re... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/tokens-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,601 | =begin
#Selling Partner API for Tokens
#The Selling Partner API for Tokens provides a secure way to access a customer's PII (Personally Identifiable Information). You can call the Tokens API to get a Restricted Data Token (RDT) for one or more restricted resources that you specify. The RDT authorizes subsequent calls... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/merchant-fulfillment-api-model.rb | Ruby | apache-2.0 | 49 | main | 7,681 | =begin
#Selling Partner API for Merchant Fulfillment
#The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
OpenAPI spec version: v0
Generated by: https://github.com/swagger-api/swagger-cod... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/product-pricing-api-model.rb | Ruby | apache-2.0 | 49 | main | 5,535 | =begin
#Selling Partner API for Pricing
#The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
OpenAPI spec version: v0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Com... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/catalog-items-api-model.rb | Ruby | apache-2.0 | 49 | main | 3,358 | =begin
#Selling Partner API for Catalog Items
#The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2022-04-01-use-case-guide).
OpenAPI spec version: 2022-0... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/uploads-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,238 | =begin
#Selling Partner API for Uploads
#The Uploads API lets you upload files that you can programmatically access using other Selling Partner APIs, such as the A+ Content API and the Messaging API.
OpenAPI spec version: 2020-11-01
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen ver... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/finances-api-model.rb | Ruby | apache-2.0 | 49 | main | 6,061 | =begin
#Selling Partner API for Finances
#The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain fina... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/easy-ship-model.rb | Ruby | apache-2.0 | 49 | main | 3,412 | =begin
#Selling Partner API for Easy Ship
#The Selling Partner API for Easy Ship helps you build applications that help sellers manage and ship Amazon Easy Ship orders. Your Easy Ship applications can: * Get available time slots for packages to be scheduled for delivery. * Schedule, reschedule, and cancel Easy Ship... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-direct-fulfillment-shipping-api-model.rb | Ruby | apache-2.0 | 49 | main | 3,295 | =begin
#Selling Partner API for Direct Fulfillment Shipping
#The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor's shipping data.
OpenAPI spec version: 2021-12-28
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: ... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/listings-restrictions-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,587 | =begin
#Selling Partner API for Listings Restrictions
#The Selling Partner API for Listings Restrictions provides programmatic access to restrictions on Amazon catalog listings. For more information, see the [Listings Restrictions API Use Case Guide](doc:listings-restrictions-api-v2021-08-01-use-case-guide).
OpenAPI... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/orders-api-model.rb | Ruby | apache-2.0 | 49 | main | 4,275 | =begin
#Selling Partner API for Orders
#The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.
OpenAPI spec version: v0
Gener... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-small-and-light-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,317 | =begin
#Selling Partner API for FBA Small And Light
#The Selling Partner API for FBA Small and Light lets you help sellers manage their listings in the Small and Light program. The program reduces the cost of fulfilling orders for small and lightweight FBA inventory. You can enroll or remove items from the program and... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/services-api-model.rb | Ruby | apache-2.0 | 49 | main | 5,155 | =begin
#Selling Partner API for Services
#With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Com... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sales-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,251 | =begin
#Selling Partner API for Sales
#The Selling Partner API for Sales provides APIs related to sales performance.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Common files
require 'sales-api-model/api_client'
require 'sales-api-m... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/listings-items-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,525 | =begin
#Selling Partner API for Listings Items
#The Selling Partner API for Listings Items (Listings Items API) provides programmatic access to selling partner listings on Amazon. Use this API in collaboration with the Selling Partner API for Product Type Definitions, which you use to retrieve the information about Am... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-shipments-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,831 | =begin
#Selling Partner API for Retail Procurement Shipments
#The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Co... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/aplus-content-api-model.rb | Ruby | apache-2.0 | 49 | main | 6,426 | =begin
#Selling Partner API for A+ Content Management
#With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decis... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fulfillment-inbound-api-model.rb | Ruby | apache-2.0 | 49 | main | 9,432 | =begin
#Selling Partner API for Fulfillment Inbound
#The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.
OpenAPI spec version: v0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Co... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-inventory-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,832 | =begin
#Selling Partner API for FBA Inventory
#The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Co... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/authorization-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,301 | =begin
#Selling Partner API for Authorization
#The Selling Partner API for Authorization helps developers manage authorizations and check the specific permissions associated with a given authorization.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: ... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/configuration.rb | Ruby | apache-2.0 | 49 | main | 6,046 | =begin
#Selling Partner APIs for Fulfillment Outbound
#The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orde... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/messaging-api-model.rb | Ruby | apache-2.0 | 49 | main | 3,795 | =begin
#Selling Partner API for Messaging
#With the Messaging API you can build applications that send messages to buyers. You can get a list of message types that are available for an order that you specify, then call an operation that sends a message to the buyer for that order. The Messaging API returns responses t... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/restricted_sp_api_client.rb | Ruby | apache-2.0 | 49 | main | 2,073 | require 'api_error'
require 'api_client'
require 'configuration'
require 'sp_api_client'
require 'tokens-api-model'
module AmzSpApi
class RestrictedSpApiClient < ApiClient
def initialize(create_restricted_data_token_request, config = SpConfiguration.default)
super(config)
raise "pass create_restric... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-transaction-status-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,534 | =begin
#Selling Partner API for Retail Procurement Transaction Status
#The Selling Partner API for Retail Procurement Transaction Status provides programmatic access to status information on specific asynchronous POST transactions for vendors.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swa... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/shipping-api-model.rb | Ruby | apache-2.0 | 49 | main | 4,620 | =begin
#Selling Partner API for Shipping
#Provides programmatic access to Amazon Shipping APIs. **Note:** If you are new to the Amazon Shipping API, refer to the latest version of <a href=\"https://developer-docs.amazon.com/amazon-shipping/docs/shipping-api-v2-reference\">Amazon Shipping API (v2)</a> on the <a href=... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-direct-fulfillment-payments-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,434 | =begin
#Selling Partner API for Direct Fulfillment Payments
#The Selling Partner API for Direct Fulfillment Payments provides programmatic access to a direct fulfillment vendor's invoice data.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=e... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-orders-api-model.rb | Ruby | apache-2.0 | 49 | main | 3,044 | =begin
#Selling Partner API for Retail Procurement Orders
#The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Common files
require '... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/solicitations-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,557 | =begin
#Selling Partner API for Solicitations
#With the Solicitations API you can build applications that send non-critical solicitations to buyers. You can get a list of solicitation types that are available for an order that you specify, then call an operation that sends a solicitation to the buyer for that order. B... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/product-type-definitions-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,160 | =begin
#Selling Partner API for Product Type Definitions
#The Selling Partner API for Product Type Definitions provides programmatic access to attribute and data requirements for product types in the Amazon catalog. Use this API to return the JSON Schema for a product type that you can then use with other Selling Part... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sp_api_client.rb | Ruby | apache-2.0 | 49 | main | 2,669 | require 'aws-sigv4'
require 'api_error'
require 'api_client'
module AmzSpApi
class SpApiClient < ApiClient
def initialize(config = SpConfiguration.default)
super(config)
end
alias_method :super_call_api, :call_api
def call_api(http_method, path, opts = {})
unsigned_request = build_requ... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/feeds-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,500 | =begin
#Selling Partner API for Feeds
#The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
OpenAPI spec version: 2021-06-30
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
# Common files
require 'feeds-api-model/api_c... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/notifications-api-model.rb | Ruby | apache-2.0 | 49 | main | 3,000 | =begin
#Selling Partner API for Notifications
#The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more. ... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/api_client.rb | Ruby | apache-2.0 | 49 | main | 13,744 | =begin
#Selling Partner APIs for Fulfillment Outbound
#The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orde... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-direct-fulfillment-orders-api-model.rb | Ruby | apache-2.0 | 49 | main | 3,172 | =begin
#Selling Partner API for Direct Fulfillment Orders
#The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor's order data.
OpenAPI spec version: 2021-12-28
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-direct-fulfillment-sandbox-test-data-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,456 | =begin
#Selling Partner API for Vendor Direct Fulfillment Sandbox Test Data
#The Selling Partner API for Vendor Direct Fulfillment Sandbox Test Data provides programmatic access to vendor direct fulfillment sandbox test data.
OpenAPI spec version: 2021-10-28
Generated by: https://github.com/swagger-api/swagger-codeg... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fulfillment-outbound-api-model.rb | Ruby | apache-2.0 | 49 | main | 7,898 | =begin
#Selling Partner APIs for Fulfillment Outbound
#The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orde... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-inbound-eligibility-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,799 | =begin
#Selling Partner API for FBA Inbound Eligibilty
#With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon's fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon's fulfi... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/shipment-invoicing-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,588 | =begin
#Selling Partner API for Shipment Invoicing
#The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.
OpenAPI spec version: v0
Generated by: https://github.com/swagger-a... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/reports-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,710 | =begin
#Selling Partner API for Reports
#The Selling Partner API for Reports lets you retrieve and manage a variety of reports that can help selling partners manage their businesses.
OpenAPI spec version: 2021-06-30
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/product-fees-api-model.rb | Ruby | apache-2.0 | 49 | main | 2,519 | =begin
#Selling Partner API for Product Fees
#The Selling Partner API for Product Fees lets you programmatically retrieve estimated fees for a product. You can then account for those fees in your pricing.
OpenAPI spec version: v0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen versio... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/amz_sp_api.rb | Ruby | apache-2.0 | 49 | main | 780 | require 'amz_sp_api_version'
require 'api_error'
require 'sp_configuration'
require 'sp_api_client'
require 'restricted_sp_api_client'
module AmzSpApi
class << self
# Customize default settings for the SDK using block.
# AmzSpApi.configure do |config|
# end
# If no block given, return the default... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,712 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-direct-fulfillment-transactions-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,580 | =begin
#Selling Partner API for Direct Fulfillment Transaction Status
#The Selling Partner API for Direct Fulfillment Transaction Status provides programmatic access to a direct fulfillment vendor's transaction status.
OpenAPI spec version: 2021-12-28
Generated by: https://github.com/swagger-api/swagger-codegen.git
... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/vendor-direct-fulfillment-inventory-api-model.rb | Ruby | apache-2.0 | 49 | main | 1,970 | =begin
#Selling Partner API for Direct Fulfillment Inventory Updates
#The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor's inventory updates.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Cod... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sp_configuration.rb | Ruby | apache-2.0 | 49 | main | 1,381 | require 'configuration'
module AmzSpApi
class SpConfiguration < Configuration
attr_accessor :refresh_token, :client_id, :client_secret, :sandbox, :region,
:aws_access_key_id, :aws_secret_access_key, :credentials_provider, # either access key or credentials_provider for AWS Signer, e.g. Aws::STS::Client
... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/api_error.rb | Ruby | apache-2.0 | 49 | main | 1,575 | =begin
#Selling Partner APIs for Fulfillment Outbound
#The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orde... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/configuration.rb | Ruby | apache-2.0 | 49 | main | 6,240 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/api_error.rb | Ruby | apache-2.0 | 49 | main | 1,769 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/version.rb | Ruby | apache-2.0 | 49 | main | 696 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/api_client.rb | Ruby | apache-2.0 | 49 | main | 13,833 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/models/error.rb | Ruby | apache-2.0 | 49 | main | 7,633 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/models/participation.rb | Ruby | apache-2.0 | 49 | main | 7,711 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/models/marketplace.rb | Ruby | apache-2.0 | 49 | main | 9,556 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/models/get_marketplace_participations_response.rb | Ruby | apache-2.0 | 49 | main | 6,998 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/models/marketplace_participation_list.rb | Ruby | apache-2.0 | 49 | main | 6,585 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/models/error_list.rb | Ruby | apache-2.0 | 49 | main | 6,559 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/models/marketplace_participation.rb | Ruby | apache-2.0 | 49 | main | 7,354 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/configuration_spec.rb | Ruby | apache-2.0 | 49 | main | 1,574 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/spec_helper.rb | Ruby | apache-2.0 | 49 | main | 5,165 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/base_object_spec.rb | Ruby | apache-2.0 | 49 | main | 3,235 | require 'spec_helper'
class ArrayMapObject < Petstore::Category
attr_accessor :int_arr, :pet_arr, :int_map, :pet_map, :int_arr_map, :pet_arr_map, :boolean_true_arr, :boolean_false_arr
def self.attribute_map
{
:int_arr => :int_arr,
:pet_arr => :pet_arr,
:int_map => :int_map,
:pet_map =>... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/api_client_spec.rb | Ruby | apache-2.0 | 49 | main | 9,355 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/models/error_spec.rb | Ruby | apache-2.0 | 49 | main | 1,759 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/models/marketplace_participation_list_spec.rb | Ruby | apache-2.0 | 49 | main | 1,351 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/models/participation_spec.rb | Ruby | apache-2.0 | 49 | main | 1,651 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/models/marketplace_spec.rb | Ruby | apache-2.0 | 49 | main | 2,376 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/models/error_list_spec.rb | Ruby | apache-2.0 | 49 | main | 1,237 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/models/get_marketplace_participations_response_spec.rb | Ruby | apache-2.0 | 49 | main | 1,764 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/models/marketplace_participation_spec.rb | Ruby | apache-2.0 | 49 | main | 1,703 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/spec/api/sellers_api_spec.rb | Ruby | apache-2.0 | 49 | main | 1,932 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/sellers-api-model/api/sellers_api.rb | Ruby | apache-2.0 | 49 | main | 3,408 | =begin
#Selling Partner API for Sellers
#The Selling Partner API for Sellers lets you retrieve information on behalf of sellers about their seller account, such as the marketplaces they participate in. Along with listing the marketplaces that a seller can sell in, the API also provides additional information about the... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-inventory-api-model/api_client.rb | Ruby | apache-2.0 | 49 | main | 13,520 | =begin
#Selling Partner API for FBA Inventory
#The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
requ... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-inventory-api-model/configuration.rb | Ruby | apache-2.0 | 49 | main | 5,922 | =begin
#Selling Partner API for FBA Inventory
#The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
modu... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-inventory-api-model/api_error.rb | Ruby | apache-2.0 | 49 | main | 1,451 | =begin
#Selling Partner API for FBA Inventory
#The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
modu... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-inventory-api-model/version.rb | Ruby | apache-2.0 | 49 | main | 378 | =begin
#Selling Partner API for FBA Inventory
#The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
modu... |
github | ericcj/amz_sp_api | https://github.com/ericcj/amz_sp_api | lib/fba-inventory-api-model/models/inventory_details.rb | Ruby | apache-2.0 | 49 | main | 9,352 | =begin
#Selling Partner API for FBA Inventory
#The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 3.0.24
=end
requ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.