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

daily-ruby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daily-ruby

  • 1.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

daily-ruby

Daily - the Ruby gem for the Daily API

The Daily REST API offers the ability to manage the following:

  • Overall Domain Configuration
  • Individual Room creation and config management
  • Meeting token creation and validation
  • Recording and compositing management
  • Meeting analytics
  • Logs and metrics
  • Real-time presence

Please reach out to help@daily.co if we can help with anything

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.1.1
  • Package version: 1.0.2
  • Generator version: 7.8.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://docs.daily.co

Installation

Build a gem

To build the Ruby code into a gem:

gem build daily-ruby.gemspec

Then either install the gem locally:

gem install ./daily-ruby-1.0.2.gem

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

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 'daily-ruby', :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 'daily-ruby'

# Setup authorization
Daily.configure do |config|
  # Configure API key authorization: sec0
  config.api_key['sec0'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  # config.api_key_prefix['sec0'] = 'Bearer'
  # Configure faraday connection
  config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
end

api_instance = Daily::BatchRoomsApi.new
opts = {
  batch_room_create_request: Daily::BatchRoomCreateRequest.new # BatchRoomCreateRequest |
}

begin
  #/batch/rooms
  result = api_instance.batch_room_create(opts)
  p result
rescue Daily::ApiError => e
  puts "Exception when calling BatchRoomsApi->batch_room_create: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.daily.co/v1

ClassMethodHTTP requestDescription
Daily::BatchRoomsApibatch_room_createPOST /batch/rooms/batch/rooms
Daily::BatchRoomsApibatch_room_deleteDELETE /batch/rooms/batch/rooms
Daily::DialinApipinless_call_updatePOST /dialin/pinlessCallUpdate/dialin/pinlessCallUpdate
Daily::DomainApiget_domain_configGET /Get domain configuration
Daily::DomainApiset_domain_configPOST /Set domain configuration
Daily::LogsApilist_api_logsGET /logs/api/logs/api
Daily::LogsApilist_logsGET /logs/logs
Daily::MeetingTokensApicreate_meeting_tokenPOST /meeting-tokensmeeting-tokens
Daily::MeetingTokensApivalidate_meeting_tokenGET /meeting-tokens/{meeting_token}meeting-tokens/:meeting_token
Daily::MeetingsApiget_individual_meeting_infoGET /meetings/{meeting}/meetings/:meeting
Daily::MeetingsApiget_meeting_infoGET /meetings/meetings
Daily::MeetingsApiget_meeting_participantsGET /meetings/{meeting}/participants/meetings/:meeting/participants
Daily::PhoneNumbersApibuy_phone_numberPOST /buy-phone-number/buy-phone-number
Daily::PhoneNumbersApilist_available_numbersGET /list-available-numbers/list-available-numbers
Daily::PhoneNumbersApipurchased_phone_nunbersGET /purchased-phone-numbers/purchased-phone-numbers
Daily::PhoneNumbersApirelease_phone_numberDELETE /release-phone-number/{id}release-phone-number/:id
Daily::PresenceApiget_presenceGET /presence/presence
Daily::RecordingsApidelete_recordingDELETE /recordings/{recording_id}recordings/:id
Daily::RecordingsApiget_recording_infoGET /recordings/{recording_id}recordings/:id
Daily::RecordingsApiget_recording_linkGET /recordings/{recording_id}/access-linkrecordings/:id/access-link
Daily::RecordingsApilist_recordingsGET /recordings/recordings
Daily::RoomsApicreate_roomPOST /rooms/rooms
Daily::RoomsApidelete_roomDELETE /rooms/{room_name}rooms/:name
Daily::RoomsApiejectPOST /rooms/{room_name}/ejectrooms/:name/eject
Daily::RoomsApiget_room_configGET /rooms/{room_name}rooms/:name
Daily::RoomsApiget_room_presenceGET /rooms/{room_name}/presencerooms/:name/presence
Daily::RoomsApiget_session_dataGET /rooms/{room_name}/get-session-datarooms/:name/get-session-data
Daily::RoomsApilist_roomsGET /rooms/rooms
Daily::RoomsApiroom_dial_out_send_dtmfPOST /rooms/{room_name}/dialOut/sendDTMFrooms/:name/dialOut/sendDTMF
Daily::RoomsApiroom_dial_out_startPOST /rooms/{room_name}/dialOut/startrooms/:name/dialOut/start
Daily::RoomsApiroom_dial_out_stopPOST /rooms/{room_name}/dialOut/stoprooms/:name/dialOut/stop
Daily::RoomsApiroom_livestreaming_startPOST /rooms/{room_name}/live-streaming/startrooms/:name/live-streaming/start
Daily::RoomsApiroom_livestreaming_stopPOST /rooms/{room_name}/live-streaming/stoprooms/:name/live-streaming/stop
Daily::RoomsApiroom_livestreaming_updatePOST /rooms/{room_name}/live-streaming/updaterooms/:name/live-streaming/update
Daily::RoomsApiroom_recordings_startPOST /rooms/{room_name}/recordings/startrooms/:name/recordings/start
Daily::RoomsApiroom_recordings_stopPOST /rooms/{room_name}/recordings/stoprooms/:name/recordings/stop
Daily::RoomsApiroom_recordings_updatePOST /rooms/{room_name}/recordings/updaterooms/:name/recordings/update
Daily::RoomsApiroom_sip_call_transferPOST /rooms/{room_name}/sipCallTransferrooms/:name/sipCallTransfer
Daily::RoomsApiroom_sip_referPOST /rooms/{room_name}/sipReferrooms/:name/sipRefer
Daily::RoomsApiroom_transcription_startPOST /rooms/{room_name}/transcription/startrooms/:name/transcription/start
Daily::RoomsApiroom_transcription_stopPOST /rooms/{room_name}/transcription/stoprooms/:name/transcription/stop
Daily::RoomsApisend_app_messagePOST /rooms/{room_name}/send-app-messagerooms/:name/send-app-message
Daily::RoomsApiset_room_configPOST /rooms/{room_name}rooms/:name
Daily::RoomsApiset_session_dataPOST /rooms/{room_name}/set-session-datarooms/:name/set-session-data
Daily::RoomsApiupdate_permissionsPOST /rooms/{room_name}/update-permissionsrooms/:name/update-permissions
Daily::TranscriptApidelete_transcriptDELETE /transcript/{transcriptId}transcript/:id
Daily::TranscriptApiget_transcript_infoGET /transcript/{transcriptId}transcript/:transcriptId
Daily::TranscriptApiget_transcript_linkGET /transcript/{transcriptId}/access-linktranscript/:id/access-link
Daily::TranscriptApilist_transcriptGET /transcript/transcript
Daily::WebhooksApicreate_webhookPOST /webhooks/webhooks
Daily::WebhooksApidelete_webhookDELETE /webhooks/{id}webhooks/:id
Daily::WebhooksApiget_webhook_configGET /webhooks/{id}webhooks/:id
Daily::WebhooksApiget_webhooksGET /webhooks/webhooks
Daily::WebhooksApiupdate_webhook_configPOST /webhooks/{id}webhooks/:id

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

sec0

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

FAQs

Package last updated on 09 Sep 2024

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