Skip to content

Epinova/Epinova.IssuuMedia

Repository files navigation

Epinova.IssuuMedia

Epinova's take on Issuu's media API

Quality Gate Status Build status Tests License: MIT Platform

Usage

Configuration

No configuration via config files are needed. All API calls are made towards Issuu's production endpoint. Each service method in this API wrapper takes in an API key & secret, so it is the calling application that decides how to configure that.

Add registry to IoC container

If using Structuremap:

    container.Configure(
        x =>
        {
            x.Scan(y =>
            {
                y.TheCallingAssembly();
                y.WithDefaultConventions();
            });

            x.AddRegistry<Epinova.IssuuMedia.MediaRegistry>();
        });

If you cannot use the structuremap registry provided with this module, you can manually set up MediaService for IMediaService.

Inject contract and use service

Epinova.IssuuMedia.IMediaService describes the service.

Basically, you can fetch info for embedded documents and list all documents belonging to the specified account.

The Issuu API has several other methods not implemented/wrapped in this module yet, so this is a very simple read-only module so far.

Prerequisites

Installing

The module is published on nuget.org.

nuget install Epinova.IssuuMedia

Target framework

  • .NET Standard 2.0
  • Tests target .NET Core 2.1

Authors

  • Tarjei Olsen - Initial work - apeneve

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Further reading

Issuu API documentation

About

Epinova's take on Issuu's media API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages