I’m developing digital signage in my company. I would like to fetch from your API data from “this month”.
I need Number of Leads and number of MQLs for each of the months. Then I will also need information about lead source.
API documentation is so unclear and does not cover those topics.
Let’s say I want to get MQLs so I call:
xulr = "/contacts/v1/lists/all/contacts/all" url = hubspot_api_url + xulr + api_key +"&property=hs_lifecyclestage_marketingqualifiedlead_date" # Now we use urllib3 to open the url and read it #print(url) print(url) response = urllib2.urlopen(url).read() str_response = response.decode('utf-8') statistics = json.loads(str_response) #df = pd.DataFrame(statistics["contacts"]) #lista = statistics["contacts"] print(statistics)
But this data is totally not comparable with the information that I have in my Funnel report…
What is more, how to use “this month” option?
PS: I will be using python.