Date | 2023-05-04 (585 days ago) |
---|---|
Downloads | 2,242 downloads |
NuGet | View on NuGet |
GitHub | View on GitHub |
Target Frameworks | .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7 |
#installation
">InstallationTo install the package via NuGet, you can use either .NET CLI:
dotnet add package Skybrud.Social.Vimeo --version 1.0.1
or the NuGet Package Manager:
Install-Package Skybrud.Social.Vimeo -Version 1.0.1
#changelog
">ChangelogAdded JObject
property to the VimeoObject
class (see e8ea3d6
)
The VimeoObject
class extends the JsonObjectBase
class, which has a nullable JObject
. But when an instance is created via the VimeoObject
class, the property is known to be not null. To improve the code analysis when using VimeoObject
and the property, the VimeoObject
class now has it's own JObject
property returning the base value, but indicating that the value is not null.
Added missing values to the VimeoAccountType
enum (see 1bcd642
)
It seems that Vimeo has added lots of new account types (or I just previously looked in the wrong places). With this release, all account types described in Vimeo's documentation is now also supported by this package.
Updated VimeoVideo
to support URIs for private videos (see 43cd5fb
)
The VimeoVideo
class is using a video's URI for determining the video's ID. Private videos have a slightly different URI, which would cause the VimeoVideo
class' internal parsing to fail. With this release, URIs of private videos are now supported, and the hash part of the URI is now detected as well.
Added SearchVideos
method to the Videos
endpoint (see 0e1c008
)
Among other things, this lets developers request one or more videos based on their URLs (including URLs for private/unlisted videos).
Restructuring (see a43eb3f
)
Until now the implementation of the Videos endpoint has had methods for getting videos of both the authenticated user and a specific user identified by either their ID or username. These methods really belong in the Me and Users endpoints respectively. This release therefore implements the methods in the right place, while the existing methods are marked as obsolete, but remain in the package to avoid breaking changes.
Updated the Skybrud.Essentials and Skybrud.Essentials.Http dependencies (see 4fae3d7
)
With this release, the Skybrud.Essentials dependency has been updated from v1.1.43
to v1.1.48
, and the Skybrud.Essentials.Http dependency has been updated from v1.1.1
to v1.1.4
.