Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Support for Media Files

Compare
Choose a tag to compare
@pardahlman pardahlman released this 15 May 05:57
· 21 commits to master since this release

This release includes full support for uploading and downloading media files!

await Client.UploadAsync(new MediaUpload
{
	Product =
	{
		Identifier = "nike_air",
		Locale = Locales.EnglishUs,
		Scope = AkeneoDefaults.Channel,
		Attribute = "product_logotype"
	},
	FilePath = "C:\\tmp\\swoosh.png",
	FileName = "nike_logo.png"
});
var mediaInfo = await Client.DownloadAsync("a/a/dsad/swoosh.png");
mediaInfo.WriteToFile("C:\\tmp");