Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Syncing 2 systems
#1
Question 
Hello,

I am trying to sync Mailchimp with Sendy.

The sync works well, but right now I am sending ALL my Mailchimp users to Sendy.

I want to sync every 5 mins, ONLY for new users.

What would be the best way to do it?

To keep a file with the last user that was synced? Or any other suggestions?

Thanks
Reply
#2
This sounds like a question about the API you're working with, rather than a Python question. We can try to answer it though. Can you link to the Mailchimp docs you're using?
Reply
#3
I don't think the API has a way to keep track of what has been requested or not.

Anyways, here is what I'm using

https://github.com/VingtCinq/python-mailchimp
Reply
#4
From what you've described, and from a very brief looking over of their docs, I would guess your best bet is to keep track yourself of the users who have already been uploaded to Sendy and do the filtering on your side. The MC API looks dead simple, I don't think you're going to get what you need from them.
Reply
#5
Exactly.

This is why I posted my question here, to get some hints as I am new to Python, but you wanted to check what I was using.

How can I keep track of what has been sent and what has not been sent?

I write the last synced member to a file?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020