Sha256: 99d2dd9059b7fc4b448d101c03fd3b462e65f46a5621510f06d5d7338278af7f

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 Bytes

Contents

# lib/skinbaron_api_client.rb

# frozen_string_literal: true

require "http"
require "json"
require_relative "skinbaron_api_client/version"
require_relative "skinbaron_api_client/client"
require_relative "skinbaron_api_client/logger"
require_relative "skinbaron_api_client/error_handling"

# Example usage:
#
# skinbaron = SkinbaronApiClient::Client.new(api_key: "your-api-key")
#
# # Search for a specific CS2 item
# response = skinbaron.search(item: "AK-47 | Asiimov")
#
module SkinbaronApiClient
  class Error < StandardError; end

  class AuthenticationError < Error; end

  class RequestError < Error; end

  class ResponseError < Error; end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
skinbaron_api_client-0.2.1 lib/skinbaron_api_client.rb
skinbaron_api_client-0.2.0 lib/skinbaron_api_client.rb
skinbaron_api_client-0.1.0 lib/skinbaron_api_client.rb