Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i call client.search_members.get()? #224

Open
vibarco opened this issue Mar 29, 2020 · 3 comments
Open

How can i call client.search_members.get()? #224

vibarco opened this issue Mar 29, 2020 · 3 comments

Comments

@vibarco
Copy link

vibarco commented Mar 29, 2020

Hello,

very new to python and mailchimp, how can i correctly call client.search_members.get() method?

My try is not working
client_mailchimp.search_members.get('fbd711c3a35644383cfacf11cebe4e52')

@stephenross
Copy link
Collaborator

Which endpoint are you attempting to hit in the documentation? We don't currently have anything by that signature you provided in the code. A quick check of the documentation shows me you are probably talking about https://mailchimp.com/developer/reference/search-members/? If so, we do not currently have that in the code, but if you create a branch that adds it (See PR #226 for a good example of what that looks like) we will merge it in.

@frankiesimon
Copy link

frankiesimon commented Jul 20, 2020

@stephenross There's an endpoint for search_members:

I expected usage to be like this:
client.search_members.get(query={"email_address": "[email protected]"})

However I don't get "exact results" even though I have that email returned in the MailChimp UI when searching for contacts.

Is there something missing?

@frankiesimon
Copy link

Any chance anyone knows the answer to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants