requestsproxy-rest
Requestsproxy - the Ruby gem for the requestsproxy.proto
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This SDK is automatically generated by the Swagger Codegen project:
- API version: version not set
- Package version: 0.0.1
- Build package: io.swagger.codegen.languages.RubyClientCodegen
Installation
Build a gem
To build the Ruby code into a gem:
gem build requestsproxy-rest.gemspec
Then either install the gem locally:
gem install ./requestsproxy-rest-0.0.1.gem
(for development, run gem install --dev ./requestsproxy-rest-0.0.1.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'requestsproxy-rest', '~> 0.0.1'
Install from Git
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
gem 'requestsproxy-rest', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
Include the Ruby code directly
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Getting Started
Please follow the installation procedure and then run the following code:
# Load the gem
require 'requestsproxy-rest'
api_instance = Requestsproxy::RequestsproxyApi.new
account_id = 'account_id_example' # String |
begin
result = api_instance.(account_id)
p result
rescue Requestsproxy::ApiError => e
puts "Exception when calling RequestsproxyApi->account_star_rating: #{e}"
end
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
Requestsproxy::RequestsproxyApi | account_star_rating | GET /v2/account_id/star_rating/account | |
Requestsproxy::RequestsproxyApi | auth_info | GET /v2/account_id/info | |
Requestsproxy::RequestsproxyApi | create_webhook | POST /v2/account_id/webhooks | |
Requestsproxy::RequestsproxyApi | delete_webhook | DELETE /v2/account_id/webhooks/id | |
Requestsproxy::RequestsproxyApi | features | GET /v2/account_id/features | |
Requestsproxy::RequestsproxyApi | orders | GET /v2/account_id/orders | |
Requestsproxy::RequestsproxyApi | product | GET /v2/account_id/products/external_product_id | |
Requestsproxy::RequestsproxyApi | product_star_rating | GET /v2/account_id/star_rating/products/external_product_id | |
Requestsproxy::RequestsproxyApi | products | GET /v2/account_id/products | |
Requestsproxy::RequestsproxyApi | products_star_rating | GET /v2/account_id/star_rating/products | |
Requestsproxy::RequestsproxyApi | promoted_products | GET /v2/account_id/promoted_products | |
Requestsproxy::RequestsproxyApi | review | GET /v2/account_id/reviews/review_id | |
Requestsproxy::RequestsproxyApi | reviews | GET /v2/account_id/reviews | |
Requestsproxy::RequestsproxyApi | reviews_by_product | GET /v2/account_id/products/external_product_id/reviews | |
Requestsproxy::RequestsproxyApi | top_reviews | GET /v2/account_id/top_reviews | |
Requestsproxy::RequestsproxyApi | update_webhook | PUT /v2/account_id/webhooks/id | |
Requestsproxy::RequestsproxyApi | user | GET /v2/account_id/users/user_id | |
Requestsproxy::RequestsproxyApi | webhook | GET /v2/account_id/webhooks/id | |
Requestsproxy::RequestsproxyApi | webhook_events | GET /v2/account_id/webhook_events | |
Requestsproxy::RequestsproxyApi | webhooks | GET /v2/account_id/webhooks |
Documentation for Models
- Requestsproxy::ProtobufListValue
- Requestsproxy::ProtobufNullValue
- Requestsproxy::ProtobufStruct
- Requestsproxy::ProtobufValue
- Requestsproxy::RequestsproxyAccountStarRatingResponse
- Requestsproxy::RequestsproxyAuthInfoResponse
- Requestsproxy::RequestsproxyCategory
- Requestsproxy::RequestsproxyComment
- Requestsproxy::RequestsproxyCoupon
- Requestsproxy::RequestsproxyCreateDynamicCouponsCodesResponse
- Requestsproxy::RequestsproxyCreateWebhookParams
- Requestsproxy::RequestsproxyDynamicCouponError
- Requestsproxy::RequestsproxyDynamicCouponsResponse
- Requestsproxy::RequestsproxyDynamicCouponsStatisticsResponse
- Requestsproxy::RequestsproxyDynamicCouponsStats
- Requestsproxy::RequestsproxyFeature
- Requestsproxy::RequestsproxyFeaturesResponse
- Requestsproxy::RequestsproxyImageData
- Requestsproxy::RequestsproxyOrdersResponse
- Requestsproxy::RequestsproxyPagination
- Requestsproxy::RequestsproxyProductImage
- Requestsproxy::RequestsproxyProductResponse
- Requestsproxy::RequestsproxyProductSpecs
- Requestsproxy::RequestsproxyProductStarRatingResponse
- Requestsproxy::RequestsproxyProductsResponse
- Requestsproxy::RequestsproxyProductsStarRatingResponse
- Requestsproxy::RequestsproxyPromotedProduct
- Requestsproxy::RequestsproxyPromotedProductsResponse
- Requestsproxy::RequestsproxyPurchase
- Requestsproxy::RequestsproxyResponse
- Requestsproxy::RequestsproxyReview
- Requestsproxy::RequestsproxyReviewCustomField
- Requestsproxy::RequestsproxyReviewResponse
- Requestsproxy::RequestsproxyReviewsResponse
- Requestsproxy::RequestsproxyStatus
- Requestsproxy::RequestsproxyTopReview
- Requestsproxy::RequestsproxyTopReviewsResponse
- Requestsproxy::RequestsproxyUserResponse
- Requestsproxy::RequestsproxyWebhook
- Requestsproxy::RequestsproxyWebhookEvent
- Requestsproxy::RequestsproxyWebhookEventsResponse
- Requestsproxy::RequestsproxyWebhookResponse
- Requestsproxy::RequestsproxyWebhooksResponse
Documentation for Authorization
All endpoints do not require authorization.