API for listing family-group members of a profile

Started by Private User on Friday, May 20, 2011

Participants:

Related Projects:

Showing all 10 posts
Private User
5/20/2011 at 5:46 PM

Is there a way to get a list of all of the profiles in the family-group of profile X?

Private User
5/21/2011 at 1:03 AM

Not directly using the API, but familygroup is just collecting profiles using immediate-family out to a certain distance of the focus profile.

You could of course process the regular pages too, and I plan to do that for downloading messages and discussions as a mailbox for navigating and searching it in your favorite email client.

Private User
5/21/2011 at 10:00 AM

I know, I was just hoping they would make it easy on us :) I thought about screen-scraping the "Family Tree -> Lists" page but think I'll traverse through the tree out to 4th cousins using the API instead.

Private User
5/21/2011 at 10:13 AM

You don't have the 5000-limit on making your own list...

5/23/2011 at 6:09 AM

Currently there isn't. It'll be easy to add. I'll create a ticket for the feature.

Private User
5/23/2011 at 7:16 AM

Thanks Scott. I'm building a family-group list myself via the API now so no great rush. Some other lists that might be useful while you guys are touching that part of the code:

- list of immediate family for profile X
- list of ancestors of profile X out to Y generations
- list of descendants of profile X out to Y generations

On a somewhat related note, is there anything you guys can do to speed up the response time for the following two calls?

https://www.geni.com/api/profile-X
https://www.geni.com/api/profile-X/immediate-family

I call these many times in order to build the family-group list. I can't get close to the 40 calls per 10 seconds limit because each of these calls takes a while to return.

Thanks

5/23/2011 at 8:10 AM

The lists should be easy to generate. I'll create a ticket for them too.

The simplest suggestion for speedup would be to specify only the fields you need with the fields= parameter.

Private User
6/10/2011 at 5:27 AM

What is the status?

I notice that you can use https://www.geni.com/api/user/max-family to get your own family group, but is there any opening for specifying focus id?

Something like https://www.geni.com/api/profile-X/max-family

Private User
6/10/2011 at 5:29 AM

Daniel, - about speedup: Just use multiple threads.

Private User
6/13/2011 at 7:38 PM

Scott Steadman for the max-family API that Brox mentioned could we get an option to have it return the union structures for each profile as well? Passing field_group=all seems to give everything but that.

This would save me a lot of immediate-family calls.

Showing all 10 posts

Create a free account or login to participate in this discussion