Skip to content

Sharepoint 2013 REST API client. Work in progress, not for the faint hearted.

License

Notifications You must be signed in to change notification settings

ifad/sharepoint

Repository files navigation

sharepoint

Build Status

Sharepoint 2013 REST API client. Work in progress, not for the faint hearted.

Installation

Add this line to your application's Gemfile:

gem 'sharepoint', git: 'https://github.com/ifad/sharepoint.git'

And then execute:

bundle

Usage

Client initialization

You can instantiate a number of SharePoint clients in your application:

client = Sharepoint::Client.new({
  username: 'username',
  password: 'password',
  uri: 'https://sharepoint_url'
})

Get documents of a folder

client.documents_for path

Upload a document

client.upload filename, content, path

Update document metadata

client.update_metadata filename, metadata, path

About

Sharepoint 2013 REST API client. Work in progress, not for the faint hearted.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages