Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

AryeoHQ/aryeo-api-ruby-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aryeo SDK

Introduction

This is an auto-generated client SDK for interfacing with the Aryeo API. We support a variety of languages and frameworks that are a great starting point for experimenting with the API. If there is an additional language or framework that you want to see supported, then please reach out and make a contribution!

Dart Go Node JS PHP Ruby Rust Swift

Authentication

To start using the Aryeo API, you will need to generate an API key from your group's developer settings. Then, make sure to provide your API key as a bearer token. Requests made without an API key will result in a 401 Unauthorized error.

Example: Authorization: Bearer {API_KEY}

Installation

Add the following block to Gemfile:

gem 'aryeo', :git => 'https://github.com/AryeoHQ/aryeo-api-ruby-sdk.git'

Getting Started

require 'time'
require 'aryeo'

Aryeo.configure do |config|
  config.access_token = 'API_KEY'
end

api_instance = Aryeo::ListingsApi.new
uuid = 'UUID'

begin
  result = api_instance.get_listings_id(uuid)
  p result.data.address.address_line_1
rescue Aryeo::ApiError => e
  puts "Error when calling ListingsApi->get_listings_id: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.aryeo.com/v1

Class Method HTTP request Description
Aryeo::AppointmentsApi get_appointments GET /appointments List all appointments.
Aryeo::AppointmentsApi get_available_dates GET /scheduling/available-dates Fetch available days for a user or group
Aryeo::AppointmentsApi get_available_timeslots GET /scheduling/available-timeslots Fetch available timeslots for a user or group
Aryeo::AppointmentsApi get_unconfirmed_appointments GET /unconfirmed-appointments List all unconfirmed appointments.
Aryeo::AppointmentsApi get_unconfirmed_appointments_id GET /unconfirmed-appointments/{unconfirmed_appointment_id} Retrieve an unconfirmed appointment.
Aryeo::AppointmentsApi put_appointments_appointment_id_cancel PUT /appointments/{appointment_id}/cancel Cancel an appointment.
Aryeo::AppointmentsApi put_appointments_appointment_id_reschedule PUT /appointments/{appointment_id}/reschedule Reschedule an appointment.
Aryeo::ListingsApi get_listings GET /listings List all listings.
Aryeo::ListingsApi get_listings_id GET /listings/{listing_id} Retrieve a listing.
Aryeo::OrdersApi get_orders GET /orders List all orders.
Aryeo::OrdersApi get_orders_id GET /orders/{order_id} Retrieve an order.
Aryeo::OrdersApi get_products GET /products List all products.
Aryeo::OrdersApi post_orders POST /orders Create an order.
Aryeo::VendorsApi get_vendors GET /vendors List all vendors.
Aryeo::VendorsApi get_vendors_id GET /vendors/{vendor_id} Retrieve a vendor.

Documentation for Models

Documentation for Authorization

Token

  • Type: Bearer authentication

Author

[email protected]