I am trying to get all clients using MindBody API, I tried this,
from suds.client import Client
from Helper.ClientService import ClientServiceMethods
# Making a call
calls = ClientServiceMethods()
result = calls.GetAllClients()
client_dict = Client.dict(result)
clients = client_dict['Clients']
client_list = clients.Client # transferring clients into a python list
#printing the lenght of received clients list
print len(client_list)
the above code will work but the issue is that it will not pull of more than 27 client, that's it. from MindBody Docs the GettAllClients should get up to 1000 client, the limit for a call is 1000 which means i can get up to 1000, but the problem is that I am note able to get at least that 1000, I am only getting 27 clients.
Note: I am working with Demo Data, Sandbox which can anyone look them, I used the Sample code from their MindBody Python repository
I am working on getting all clients data through the api,these clients can viewed from here
Username:Siteowner | Password:apitest1234