# python API (client.crm.tickets.associations\_api.get\_all) give less results when trying locally

**URL:** <https://community.hubspot.com/t/python-api-client-crm-tickets-associations-api-get-all-give-less-results-when-trying-locally/71493>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [December 19, 2022, 12:45pm UTC](https://community.hubspot.com/t/python-api-client-crm-tickets-associations-api-get-all-give-less-results-when-trying-locally/71493 "2022-12-19T12:45:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BartJonk](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bartjonk/32/76793_2.png) [@BartJonk](https://community.hubspot.com/u/BartJonk)\
**Post date:** [December 19, 2022, 12:45pm UTC](https://community.hubspot.com/t/python-api-client-crm-tickets-associations-api-get-all-give-less-results-when-trying-locally/71493/1 "2022-12-19T12:45:18Z")

</div>

When I try

client.crm.tickets.associations\_api.get\_all on

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-tickets-v3%2Fguide)**

I’m getting a more extensive answer

{  
“results”: [  
{  
“toObjectId”: xxxxxxxxx,  
“associationTypes”: [  
{  
“category”: “HUBSPOT\_DEFINED”,  
“typeId”: 339,  
“label”: null  
}  
]  
},  
{  
“toObjectId”:xxxxxxxxx,  
“associationTypes”: [  
{  
“category”: “HUBSPOT\_DEFINED”,  
“typeId”: 26,  
“label”: “Primary”  
},  
{  
“category”: “HUBSPOT\_DEFINED”,  
“typeId”: 339,  
“label”: null  
}  
]  
}  
]

than locally:

{‘paging’: None, ‘results’: [{‘id’: ‘xxxxxxxxx’, ‘type’: ‘ticket\_to\_company’}]}

I need the extra information, how come?

I already did a pip install --upgrade hubspot

and a pip list :

hubspot 0.1.14.dev0  
hubspot-api-client 3.8.2

---

<div class="post-metadata">

**Author:** ![ChrisoKlepke](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chrisoklepke/32/11213_2.png) [@ChrisoKlepke](https://community.hubspot.com/u/ChrisoKlepke)\
**Post date:** [December 19, 2022, 5:05pm UTC](https://community.hubspot.com/t/python-api-client-crm-tickets-associations-api-get-all-give-less-results-when-trying-locally/71493/2 "2022-12-19T17:05:15Z")

</div>

Hey @BartJonk,

just looking at this quickly, and my first shot in the dark is indeed the version. We are on 7.2.0 already.

I’ve noticed that you tried the command

`pip install --upgrade hubspot`

but it should be

```bash
pip install --upgrade hubspot-api-client

```

Please let me know if this helps.

Cheers,

Chriso

---

<div class="post-metadata">

**Author:** ![BartJonk](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bartjonk/32/76793_2.png) [@BartJonk](https://community.hubspot.com/u/BartJonk)\
**Post date:** [December 20, 2022, 11:14am UTC](https://community.hubspot.com/t/python-api-client-crm-tickets-associations-api-get-all-give-less-results-when-trying-locally/71493/3 "2022-12-20T11:14:29Z")

</div>

Thanks!
