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

cloudmersive-dataintegration-api-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudmersive-dataintegration-api-client

  • 2.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

cloudmersive-dataintegration-api-client

CloudmersiveDataintegrationApiClient - the Ruby gem for the dataintegrationapi

Easily and directly query database backup files, convert into other file formats.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1
  • Package version: 2.0.2
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build cloudmersive-dataintegration-api-client.gemspec

Then either install the gem locally:

gem install ./cloudmersive-dataintegration-api-client-2.0.2.gem

(for development, run gem install --dev ./cloudmersive-dataintegration-api-client-2.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 'cloudmersive-dataintegration-api-client', '~> 2.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 'cloudmersive-dataintegration-api-client', :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 'cloudmersive-dataintegration-api-client'

# Setup authorization
CloudmersiveDataintegrationApiClient.configure do |config|
  # Configure API key authorization: Apikey
  config.api_key['Apikey'] = '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['Apikey'] = 'Bearer'
end

api_instance = CloudmersiveDataintegrationApiClient::BackupConvertApi.new

opts = { 
  input_file: File.new('/path/to/file.txt') # File | Input file to perform the operation on
}

begin
  #Lists all tables stored in a SQL Server Backup (.BAK) file
  result = api_instance.dataintegration_backup_convert_mssql_bak_get_tables_post(opts)
  p result
rescue CloudmersiveDataintegrationApiClient::ApiError => e
  puts "Exception when calling BackupConvertApi->dataintegration_backup_convert_mssql_bak_get_tables_post: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://localhost

ClassMethodHTTP requestDescription
CloudmersiveDataintegrationApiClient::BackupConvertApidataintegration_backup_convert_mssql_bak_get_tables_postPOST /dataintegration/backup/convert/mssql/bak/get/tablesLists all tables stored in a SQL Server Backup (.BAK) file
CloudmersiveDataintegrationApiClient::BackupConvertApidataintegration_backup_convert_mssql_bak_to_csv_postPOST /dataintegration/backup/convert/mssql/bak/to/csvConverts a SQL Server Backup (.BAK) file into CSV for a specified table

Documentation for Models

Documentation for Authorization

Apikey

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

FAQs

Package last updated on 09 Aug 2020

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