0.2.0 • Published 7 years ago

unity-package-download v0.2.0

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

unity-package-download

Note: uses es6 classes, see this for node version compatibility

Build Status

Client for downloading packages from the unity package service.

You must download one package manually before this will work, as you need to accept the unity TOS.

It's important to note that this is for downloading (not purchasing) packages - as such, you can only get content you're already authorized to get.

To purchase yourself a package (not needed for free ones) go to unity3d and click 'buy'.

How

Do I...

Install

Simple! Just npm install unity-package-download

Use

See the following (or the tests):

const client = new UnityDownloadClient('sessionId')

client.download('packageId').then(...)
client.downloadMeta('packageId').then(...)

You'll probably also want to check out unity-package-authentication for securing a valid sessionId

License

MIT