# Python examples for Officer Appointment and Registered Office Address

**URL:** <http://forum.companieshouse.gov.uk/t/python-examples-for-officer-appointment-and-registered-office-address/7225>\
**Category:** API Question\
**Created:** [December 14, 2023, 5:48pm UTC](http://forum.companieshouse.gov.uk/t/python-examples-for-officer-appointment-and-registered-office-address/7225 "2023-12-14T17:48:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruno.trevelin](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/b/e95f7d/32.png) [@bruno.trevelin](http://forum.companieshouse.gov.uk/u/bruno.trevelin)\
**Post date:** [December 14, 2023, 5:48pm UTC](http://forum.companieshouse.gov.uk/t/python-examples-for-officer-appointment-and-registered-office-address/7225/1 "2023-12-14T17:48:22Z")

</div>

Hi,

We are trying to use both APIs Officer Appointment and Registered Office Address

However we are not getting it and also the pagination does not seems to work, anyone has python references for us to use these 2 APIs please? Thanks

---

<div class="post-metadata">

**Author:** ![voracityemail](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/v/b77776/32.png) [@voracityemail](http://forum.companieshouse.gov.uk/u/voracityemail)\
**Post date:** [December 15, 2023, 9:44am UTC](http://forum.companieshouse.gov.uk/t/python-examples-for-officer-appointment-and-registered-office-address/7225/2 "2023-12-15T09:44:58Z")

</div>

If you mean the Public Data API (not the streaming API) which seems likely then there are various examples listed on the forum. I found I’d linked to some (including a small library) on a post on this thread:

[https://forum.aws.chdev.org/t/how-to-use-api-with-python-can-anyone-help-me-on-this-thanks/2501/2](https://forum.aws.chdev.org/t/how-to-use-api-with-python-can-anyone-help-me-on-this-thanks/2501/2)

When you say “not getting it” what exactly is the issue you’re having?

Lots of information of pagination - there are a few quirks (e.g. “features”) e.g. the fields / parameters are not consistently named across the API… I’ve posted something on paging here (in a different context but should help) also:

[https://forum.aws.chdev.org/t/searching-using-curl-returns-only-20-results-a-page/1454/2](https://forum.aws.chdev.org/t/searching-using-curl-returns-only-20-results-a-page/1454/2)

Good luck.
