NetTalk Central

Author Topic: API Questions  (Read 3724 times)

LeroySchulz

  • Newbie
  • *
  • Posts: 2
    • View Profile
API Questions
« on: January 09, 2021, 12:59:36 PM »
(I thought I posted this two days ago but I'm not seeing it so I'm posting again.)

I'm looking at using NetTalk to access two APIS:

1)  Google Sheets API (https://developers.google.com/sheets/api/guides/concepts).

2)  The Outlook API (through either https://docs.microsoft.com/en-us/outlook/rest/get-started or https://www.nylas.com/integrations/outlook-api/).

Are any of you already using either of these APIs?  Or if you're experienced at this, how straight-forward vs difficult can I expect this to be?

Thank you.

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: API Questions
« Reply #1 on: January 10, 2021, 01:21:23 AM »
Hi Leroy,

Calling the Google API is straightforward. You need to build the call as a url post in a NetWebClient procedure.

I haven't used the Outlook API so cannot comment much. If it is a Web API, it should be simple to call it too.

The complexity is not in the call but in building the calling url correctly and managing state and call sequence which differs from one API to another.

Regards,
Ubaidullah Nubar.

rjolda

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • Email
Re: API Questions
« Reply #2 on: January 10, 2021, 10:09:45 AM »
Hi Leroy,
I had written a full implementation to utilize our State PDMP API for dispensation of scheduled drugs.  I  wrote it all in Net Talk - 3 years ago.  No OAUTH but straight forward.  I then went on to fully automate it so that I could query the PDMP for my complete schedule of patients for the day.  Besides, I was able to get full reports and set up the data results so that they made sense to me.  Once I got the hang of it and the query and response values, I did it all - simply with net Talk Client!  If you get stuck, yell at me, maybe I can help you get along. 
Ron Jolda

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11