This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Home
dmillz edited this page Jan 10, 2013
·
9 revisions
BrightcoveOS .NET-MAPI-Wrapper is a .NET wrapper for the Brightcove Media API. All available API calls have been wrapped, for both video and audio. Get it here:
See Getting Started and Examples.
It’s easy! The following code will retrieve and process the first 100 videos in your account:
// Instantiate an API object by using the provided factory
BrightcoveApi api = BrightcoveApiFactory.CreateApi("my API read token");
// API calls are subject to the whims of internet connectivity, and may throw an exception.
// To ensure that your app is as robust as possible, make sure to try/catch all API calls (not shown here).
BrightcoveItemCollection<BrightcoveVideo> videos = api.FindAllVideos();
foreach (BrightcoveVideo video in videos)
{
// do something with each video
}
For more examples, see Examples.
- Full API coverage. All API calls have been wrapped, including calls related to audio!
- Permissive open source license. BrightcoveOS .NET-MAPI-Wrapper is licensed under the MIT License, which means you can use it for commercial and proprietary projects without worrying about running afoul of the license terms, or being forced to open your own source code.
- Easy to extend. BrightcoveOS .NET-MAPI-Wrapper is written in a way that makes it easy to extend in order to support any future additions to Brightcove’s Media API.
- Convenient model objects allow a developer to easily read, modify, and write data and properties for Brightcove items, such as BrightcoveVideo, BrightcoveAudioTrack, BrightcovePlaylist, and more.
- Robust API error detection. BrightcoveOS .NET-MAPI-Wrapper will detect error messages returned by API calls, wrap them in a BrightcoveApiException, and throw the exception so that it can be handled via standard .NET try/catch blocks. No more manually parsing JSON to check for errors.
See Getting Started for more.
See Known Issues, or open a new issue on the project issue tracker.