1. EMILIO GARCIA
  2. PowerBuilder
  3. Friday, 26 November 2021 19:04 PM UTC

Hello

I need to know how to import the contact list (name and email) from my Google account into my ERP.

I've been reading about the People API, but can't find any examples of how to use it in PB 2019.

I created the token and I know to use the OAuthClient object, but I don't know how to do it.

I would appreciate help please.

Thank you in advanced.

Regards.

-EGA-

 

Accepted Answer
Daryl Foster Accepted Answer Pending Moderation
  1. Monday, 29 November 2021 00:06 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Emilio,

I don't use the Google APIs, but have you had a look at this question from a few weeks ago.

https://community.appeon.com/index.php/qna/q-a/google-maps-drive-time-kilometers

It is using the Google Maps API, so it may be a bit similar.  From what I can see, the people API is a GET query, but unlike the Maps API which passes the token as a GET variable I think the People API probably sends the token as an Authorization Bearer header.

Once you call the API it will return json which you will need to parse.

Have you been able to call the API from Postman or another language that we can help you port to Powerbuilder?

Daryl.

Comment
  1. Alberto Alvarez
  2. Sunday, 12 December 2021 19:14 PM UTC
Daryl, thank you for your response. Go fine!!!
  1. Helpful
  1. Miguel Leeuwe
  2. Sunday, 12 December 2021 21:07 PM UTC
Hi Alberto,

If it's working now, please mark "as resolved".

regards.
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Sunday, 12 December 2021 19:21 PM UTC
  2. PowerBuilder
  3. # 1

There was an Elevate session about Google Places APIs:  https://www.appeon.com/conference/elevate-2021/live?id=342

I know this is not exactly same as People API, but maybe it will help you.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.