planningcenter / developers

Planning Center API docs and support
https://developer.planning.center/docs/
85 stars 8 forks source link

use Api.planningcenteronline.com #1171

Closed sockhuatyeo closed 5 months ago

sockhuatyeo commented 5 months ago

Affected Product Which product does this bug affect?

Describe the bug

Hi I am try to use API from people planning center fortoday's member's birthday.

But I found it only returned only 15 person. I am using url = "https://api.planningcenteronline.com/people/v2/birthday_people?

Kindly help how to resolve this issue.

To Reproduce

Expected behavior return all the person who is birthdate today

Screenshots

Additional Context:

Additional context Partially code is here.

username = "aaa"; password = "bbb";

response = requests.get(url, auth=HTTPBasicAuth(username, password))
if response.status_code == 200:
    birthday_people = response.json()
    return birthday_people
else:
    print("Failed to retrieve data:", response.text)
    return None

I have

gjack commented 5 months ago

Hello @sockhuatyeo,

This endpoint returns people with upcoming birthdays in the next 30 days, not only today. And yes, I've confirmed that it only returns the first 15 of them, even though the documentation suggests you should be able to paginate through a much more extensive collection of people.

I will close this issue for now, but I'll pass this report to my teammates and let you know when we have fixed this situation.

Thank you!