How to convert web interface URL to API profile ID?

Started by Kenneth Ekman on Sunday, January 6, 2019
Problem with this page?

Related Projects:

Showing all 3 posts
1/6/2019 at 1:17 AM

How could I convert a profile URL to the API profile-id?

In some cases the search algorithm either does not return the expected person, or it returns too many profiles.
In those cases it would be helpful if I could convert a web page URL to the associated profile-id.

Is there a way to do that?

Here is a sample:

Queen Victoria of the United Kingdom and Empress of India

->

https://www.geni.com/api/profile-g6000000008852088113

Note the 'g' before GUID. The profile ID is present in the API call result.

1/6/2019 at 4:31 AM

Thanks, Juha! Works nicely!

Showing all 3 posts

Create a free account or login to participate in this discussion