New developer trial task

Use the code from this GitHub repository:

Implement code like in this example:

poloniex.returnTicker(function(err, data) {
    if (err){
        // handle error


However, instead of using a callback, we want to change this to instead use a JavaScript Promise.

Please refer to our other page that mentions Promises in more detail.

The "Then" function of the promise should then write the results of the API call to a text file.

If you have any questions on the task, please let us know and we can help answer.

Posted on Dec 01, 2017