How to get developer's location info

Not applicable

We want to implement a metric to pull developers group by country/location. When a developer register account on our side PDC, they are asked to fill in location info. But the developer info appears in Developer Portal doesn't include location. So is there a way to return location info by using curl -X GET --"https://api.enterprise.apigee.com/v1/organizations/org_name/developers/developer_email_or_id" API?

0 1 107
1 REPLY 1

@xinbochen , Welcome to Apigee Community !

I see that you don't have any Country field in your registration form. It's a generic location text box. Ideally you should be adding a choose country field using module like Countries.

You can use Drupal views to filter developer by country to create an Admin View. Also, If you need to send this data to Apigee Edge to leverage country attribute in API RunTime , You can do that using Developer Attributes settings in Developer Portal. Once it's pushed to Edge, It's also available in above API.

More about same you can find in Developer Portal 4MV4D series here, Look for User Registration Customization & Developer Attributes 4 Minutes video in above playlist.

-------------------------------

Anil Sagar

5997-screen-shot-2017-11-23-at-75916-pm.png Learn Apigee Concepts in 4 Minutes HandsOn