Skip to content

ptdev/unsplash-net

 
 

Repository files navigation

Unsplash SDK for .Net

A simple and easy to use client for the Unsplash API


CI Release to Nuget CodeQL

Nuget Nuget (with prereleases)

Installation

.Net CLI

dotnet add package Unsplash.Net

Usage

Before using the Unsplash API, register as a developer and read the API Guidelines.

Import and initialize the client using the public authentication token created above.

var client = new UnsplashClient(new ClientOptions
{
    AccessKey = "<Token>"
});

Make A request to any Endpoint. For example you can call below to fetch the list of photos.

var photos = await client.Photos.GetPhotosAsync();

Contribution Guideline

At the moment I haven't got any specific guidelines for the project. Everyone are welcome to contribute.

About

🐧 A .Net wrapper for the Unsplash API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%