unity-package-download

0.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i unity-package-download

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • b3ngr33ni3r