CopyRestAPI
CopyRestAPI is a C# client for the Copy cloud storage service through its RESTful API.
About
CopyRestAPI is a C# client for the Copy cloud storage service through its RESTful API.
CopyRestAPI aims towards being the most comprehensive implementation for the Copy REST API in .Net/C#.
Features
- Full Async support
- Full implementation of the API:
- Support for OAuth Handshare
- Support for User Profile methods
- Support for Filesystem methods
- Support for Links methods
Contact
You can contact me on twitter @saguiitay.
NuGet
CopyRestAPI is available as a NuGet package
Release Notes
- 1.0.0 Initial release.
Usage
var client = new CopyClient(
new Config
{
CallbackUrl = "https://www.yourapp.com/Copy",
ConsumerKey = ConsumerKey,
ConsumerSecret = ConsumerSecret,
//Token = Token,
//TokenSecret = TokenSecret
});
// Perform authorization (alternatively, provide a Token and TokenSecret in the Config object passed to CopyClient
await Authorize(client);
// Retrieve information on the logged-in user
var user = await client.UserManager.GetUserAsync();
// Retrieve the root folder of the logged-in user
var rootFolder = await client.GetRootFolder();
foreach (var child in rootFolder.Children)
{
var childInfo = await client.FileSystemManager.GetFileSystemInformationAsync(child.Id);
}
Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
