Skip to content

daphnechong/SevenDigital.Api.Wrapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Current usage:

artist/details endpoint
Artist artist = new FluentApi<Artist>()
		.WithParameter("artistId", "1")
		.Resolve()

Not all endpoints implemented yet, just Artist and some of Release.

Would like to move to this eventually:

var artist = new FluentApi<Artist>()
		.With.ArtistId(1)
		.For.Country("GB")
		.Resolve()
		
or similar.

Type knows about its endpoint via the [ApiEndpoint] attribute, e.g

[ApiEndpoint("artist/details")]
public class Artist{}

See example usage console app project for some more examples.

About

A fluent c# wrapper for the 7Digital API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%