Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quandoo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quandoo

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

quandoo

Quandoo - the Ruby gem for the Quandoo API Documentation

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: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build quandoo.gemspec

Then either install the gem locally:

gem install ./quandoo-1.0.0.gem

(for development, run gem install --dev ./quandoo-1.0.0.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 'quandoo', '~> 1.0.0'

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 'quandoo', :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 'quandoo'

api_instance = Quandoo::AvailabilitiesApi.new

merchant_id = 56 # Integer | Id of the merchant

agent_id = 56 # Integer | Id of the agent

opts = { 
  capacity: 56 # Integer | Number of people
}

begin
  #Get merchant availability days
  result = api_instance.availability_days1(merchant_id, agent_id, opts)
  p result
rescue Quandoo::ApiError => e
  puts "Exception when calling AvailabilitiesApi->availability_days1: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.quandoo.com

ClassMethodHTTP requestDescription
Quandoo::AvailabilitiesApiavailability_days1GET /v1/merchants/{merchantId}/availabilitiesGet merchant availability days
Quandoo::AvailabilitiesApiavailability_options1GET /v1/merchants/{merchantId}/availabilities/{date}/timesGet merchant availability time slots
Quandoo::CustomersApiget_customer1GET /v1/customers/{customerId}Get customer Data
Quandoo::CustomersApiget_customers_of_merchant1GET /v1/merchants/{merchantId}/customersGet a list of Customers of a merchant
Quandoo::CustomersApiget_reservations1GET /v1/customers/{customerId}/reservationsGet customer reservations
Quandoo::MenusApiadd_preordered_items1PATCH /v1/reservations/{reservationId}/preordersAdd/remove menu items to/from a reservation's preorders
Quandoo::MenusApifind_menus_for_reservation1GET /v1/reservations/{reservationId}/menusGet all available menus for a reservation
Quandoo::MenusApiget_menu_for_reservation1GET /v1/reservations/{reservationId}/menus/{menuId}Get information about an available reservation menu
Quandoo::MenusApiget_preordered_items1GET /v1/reservations/{reservationId}/preordersGet preorders of a reservation
Quandoo::MenusApisave_preordered_items1PUT /v1/reservations/{reservationId}/preordersPreorder menu items for a reservation
Quandoo::MerchantsApiget_reservations2GET /v1/merchants/{merchantId}/reservationsGet merchant reservations
Quandoo::MerchantsApiget_reviews1GET /v1/merchants/{merchantId}/reviewsRetrieves customer reviews for a merchant, specified by reviewId
Quandoo::MerchantsApisearchGET /v1/merchantsAllows to get merchant information by parameters
Quandoo::MerchantsApisearch2GET /v1/merchants/{merchantId}Allows to get a merchant by id
Quandoo::MerchantsApisearch_similar1GET /v1/merchants/{merchantId}/similarAllows to get a merchant by id and find similar merchants
Quandoo::ReservationEnquiriesApicreate_reservation_enquiry1PUT /v1/reservation-enquiriesCreate reservation enquiries
Quandoo::ReservationEnquiriesApiget_messages_for_reservation_enquiry1GET /v1/reservation-enquiries/{reservationEnquiryId}/messagesGet all messages of a reservation enquiry
Quandoo::ReservationEnquiriesApiget_reservation_enquiry1GET /v1/reservation-enquiries/{reservationEnquiryId}Get reservation enquiry by id
Quandoo::ReservationEnquiriesApiupdate_reservation_enquiry1PATCH /v1/reservation-enquiries/{reservationEnquiryId}Update status of reservation enquiry by id
Quandoo::ReservationSettingsApireservation_settings1GET /v1/merchants/{merchantId}/reservation-settingsGet merchant reservation settings
Quandoo::ReservationsApicreate_reservation1PUT /v1/reservationsCreate reservations
Quandoo::ReservationsApiget_reservation1GET /v1/reservations/{reservationId}Get reservation by id
Quandoo::ReservationsApiupdate_reservation1PATCH /v1/reservations/{reservationId}Update reservation by id
Quandoo::ReviewsApicreate_review1PUT /v1/reviewsCreate a review for a reservation
Quandoo::ReviewsApiget_review1GET /v1/reviews/{reviewId}Get details for a specific review
Quandoo::ReviewsApiget_reviews2GET /v1/reviewsGet information from reviews in a list
Quandoo::ReviewsApiupdate_review1PATCH /v1/reviewsUpdated a review
Quandoo::StatusApiget_status_by_get1GET /v1/statusProvides information on the status of the service
Quandoo::StatusApiget_status_by_head1HEAD /v1/statusProvides information on the status of the service
Quandoo::ValidationsApivalidate_phone_number1GET /v1/validations/phone-numbersValidate phone number

Documentation for Models

Documentation for Authorization

API_TOKEN

  • Type: API key
  • API key parameter name: X-Quandoo-AuthToken
  • Location: HTTP header

CUSTOMER_SESSION

  • Type: API key
  • API key parameter name: X-Quandoo-User-Session
  • Location: HTTP header

FAQs

Package last updated on 13 Aug 2019

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