In the API docs, the Search By Status Endpoint shows "TODO - implement" for the python tab. What does that mean? How come I dont get sample code like I do with the other endpoints and for php?
![Screenshot 2023-11-16 at 11.31.18 PM.png Screenshot 2023-11-16 at 11.31.18 PM.png](https://forum.mailwizz.com/data/attachments/19/19291-5db8edefcfd80b0616eba96f799f29aa.jpg?hash=Xbjt78_YCw)
Im trying to search for emails where status = moved. The below shows confirmed but I guess i can change it once i get it working with confirmed. My response = endpoint.get_subscribers(list_uid='zs200q4flg67c', status='confirmed', page=1, per_page=10) line is where i am having the issue. I get Unexpected keyword argument 'status' in method call.
![Screenshot 2023-11-16 at 11.31.18 PM.png Screenshot 2023-11-16 at 11.31.18 PM.png](https://forum.mailwizz.com/data/attachments/19/19291-5db8edefcfd80b0616eba96f799f29aa.jpg?hash=Xbjt78_YCw)
Im trying to search for emails where status = moved. The below shows confirmed but I guess i can change it once i get it working with confirmed. My response = endpoint.get_subscribers(list_uid='zs200q4flg67c', status='confirmed', page=1, per_page=10) line is where i am having the issue. I get Unexpected keyword argument 'status' in method call.
Code:
from setup_api import setup
from mailwizz.endpoint.list_subscribers import ListSubscribers
import json
"""
SETUP THE API
"""
setup()
"""
CREATE THE ENDPOINT
"""
endpoint = ListSubscribers()
"""
Search By Status
"""
response = endpoint.get_subscribers(list_uid='zs200q4flg67c', status='confirmed', page=1, per_page=10)
"""
DISPLAY RESPONSE
"""
print(response.content)
json_data = json.loads(response.text)
data = json.dumps(json_data, indent=4) # Make it pretty
print(data)