mailerlite-api-python icon indicating copy to clipboard operation
mailerlite-api-python copied to clipboard

add_single_subscriber updated?

Open AdventuresOfMar opened this issue 3 years ago • 1 comments

Hello~ Thanks so much for the library I'm looking at the mailer docs and I think the endpoint might have updated to add a single subscriber. It looks like we pass in the group_id and subscriber_id instead of the subscriber data. Where would be a good place to update in the mailerlite-api-python lib files?

AdventuresOfMar avatar Nov 05 '22 20:11 AdventuresOfMar

Hi @AdventuresOfMar,

Yes, It seems they are mixing the old and the new API. it is not clear yet.

You can see this discussion: https://github.com/skoudoro/mailerlite-api-python/issues/53

I wonder if we should handle both API or only the latest one.

You can update it here: https://github.com/skoudoro/mailerlite-api-python/blob/master/mailerlite/subscriber.py. But we need to be careful (in case the old api is still working).

Thank you for helping

skoudoro avatar Nov 07 '22 18:11 skoudoro