node-cognitive-services icon indicating copy to clipboard operation
node-cognitive-services copied to clipboard

Migrate deprecated Recommendations API

Open miparnisari opened this issue 6 years ago • 5 comments

New API Reference: https://github.com/Microsoft/Product-Recommendations/blob/master/doc/api-reference.md

miparnisari avatar Mar 19 '18 04:03 miparnisari

Hey could I possibly take a crack at this? Could I possibly get a little more information on what needs to be done?

jake32321 avatar May 29 '18 02:05 jake32321

Hi @jake32321 !

Microsoft recently updated the recommendations API and changed a bunch of things. So the task is to update the wrapper for this service.

The source code is here and the tests are here.

I've written the code for only one API endpoint, but there are more. The task is to write the functions for all (and obviously the tests).

image

You will need a personal Azure subscription to test this. I think they have a free tier (B1) but i haven't checked if it's actually free.

There are some interesting things, like for example the test for the POST /api/models endpoints will have to have a file uploaded to blob storage. It'd be nice to upload and delete this file in the before and after test functions :)

miparnisari avatar May 29 '18 06:05 miparnisari

Sounds good! I'll get to cracking on this later.

jake32321 avatar May 29 '18 15:05 jake32321

@miparnisari Hi, I am first timer. Is this ticket still open? I would like to give it a try?

sabina-rohman avatar Feb 23 '20 15:02 sabina-rohman

@sabina-rohman sure :)

miparnisari avatar Feb 24 '20 08:02 miparnisari