Socket
Book a DemoInstallSign in
Socket

skykick

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skykick

0.2.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

Skykick Office365 backup API

Version Maintainability Test Coverage

This is a wrapper for the Skykick Office365 backup API. You can see the API endpoints

Currently only the GET requests to endpoints /Backup and /Alerts are implemented (readonly).

Installation

Add this line to your application's Gemfile:

gem 'skykick'

And then execute:

> bundle install

Or install it yourself as:

> gem install skykick

Usage

Before you start making the requests to API provide the client id and client secret and email/password using the configuration wrapping.

require 'skykick'

Skykick.configure do |config|
  config.client_id = ENV["SKYKICK_CLIENT_ID"]
  config.client_secret = ENV["SKYKICK_CLIENT_SECRET"]
end
@client = Skykick.client()
@client.login

dc = @client.datacenters

dc.each do |t|
  puts "#{t.name}"
end

Resources

Authentication

# setup configuration
#
client.login
ResourceAPI endpoint
.auth_token or .loginhttps://apis.skykick.com/auth/token

Backup

Endpoint for backup related requests

subscriptions = client.subscriptions
ResourceAPI endpoint
autodiscoverhttps://apis.skykick.com/Backup/{id}/autodiscover
datacentershttps://apis.skykick.com/Backup/datacenters
exchange_mailboxehttps://apis.skykick.com/Backup/{id}/mailboxes/{mailboxId}
exchange_mailboxeshttps://apis.skykick.com/Backup/{id}/mailboxes
lastsnapshotstatshttps://apis.skykick.com/Backup/{backupServiceId}/lastsnapshotstats
retention_periodshttps://apis.skykick.com/Backup/{id}/retentionperiod
sharePoint_siteshttps://apis.skykick.com/Backup/{id}/sites
skuhttps://apis.skykick.com/Backup/{id}/sku
storage_settingshttps://apis.skykick.com/Backup/{id}/storagesettings
subscription_settingshttps://apis.skykick.com/Backup/{id}/subscriptionsettings
subscriptionshttps://apis.skykick.com/Backup/
partner_subscriptions(partner_id)https://apis.skykick.com/Backup/{partner_id}

Alerts

Returns Alerts for a provided Email Migration Order ID or Backup service ID.

subscriptions = client.subscriptions
alerts = client.alerts(subscriptions.first.id)

ResourceAPI endpoint
.alerts/Alerts

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 21 Mar 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.