APIv3-typescript-library icon indicating copy to clipboard operation
APIv3-typescript-library copied to clipboard

node api

Open sakulstra opened this issue 4 years ago • 7 comments

i'm wondering why there's a dedicated ts-library (using request & bluebird :/), but no official types on https://github.com/sendinblue/APIv3-nodejs-library/issues/57. Wouldn't it make sense to consolidate efforts over there?

We're currently considering migrating from mailchimp/gun to sendinblue where one argument for the migration was officially maintained wrapper apis :)

sakulstra avatar Oct 09 '19 10:10 sakulstra

+1, we encountered huge complications while reading the API docs and trying to use this ts library. Why things can't be just simple? We'd rather not use this library.

digitalcortex avatar Jun 11 '20 08:06 digitalcortex

+1, official types would be super welcome

tgouala avatar Jun 28 '20 19:06 tgouala

Totally agree. This doesn't make any sense.

MineiToshio avatar Oct 02 '20 06:10 MineiToshio

SendinBlue just autogenerate the SDK from Swagger standard... It's the main reason.

These repo are not "offcially maintained wrapper api" but just "dumping of autogenerated code on Github".. They are hard to use, badly documented and not really maintained

RignonNoel avatar Nov 13 '20 11:11 RignonNoel

When I see the troubles using this package vs shooting a simple http request, I don't see the point. The types are totally disjoint and allow nothing... useless...

chevdor avatar Jan 05 '21 20:01 chevdor

Upgrading our app from node 8 to 12 and any deprecated dependencies. This is the only package that is impossible to get working and it's such a minor piece of our functionality. +1 for just setting type definitions than having a one off auto generated typescript library that is impossible to transpile.

mikemcguire avatar Aug 10 '21 16:08 mikemcguire

It seems like having a Typescript dedicated library is just a marketing argument here, all the code is generated using a single tool from one single codebase so it's « easier » to maintain for the team. That's why you end up with such garbage code and documentation that is not clearly easy to take in hand and functionnal.

I highly recommend switching to SendGrid or any other provider that maintains a real user-friendly SDK. Or if you can't in short times, switch to the standard nodeJS library which is a bit less garage pill.

ScreamZ avatar Sep 21 '21 08:09 ScreamZ