Welcome! Log In Create A New Profile

Advanced

[WM24] Question about API Integration

Posted by RobertLeo 
[WM24] Question about API Integration
September 29, 2020 10:34AM
Hello everyone,

So I have a question, is it possible to integrate APIs into an app we are currently building? Because in my app we are building a function that would record data like steps taken, heart beat, blood pressure, etc. either from phone sensors or external devices, so I am planning to integrate Google Fit's API into my app, is this possible or do I have to use a REST webservice for it?
Re: [WM24] Question about API Integration
September 29, 2020 01:41PM
When I look at the API from Google i can see you can either use it by OAuth2.0 or REST
Both of them are feasible with integrated functions by Windev! REST can be easily imported by its wsdl file.
Re: [WM24] Question about API Integration
September 29, 2020 02:08PM
Koen Wrote:
-------------------------------------------------------
> When I look at the API from Google i can see you
> can either use it by OAuth2.0 or REST
> Both of them are feasible with integrated
> functions by Windev! REST can be easily imported
> by its wsdl file.

is there no direct integration? Or am I mistaking it with SDK (which google fit has as well)

sorry I am kinda out of my element here so I appreciate the explanation
Re: [WM24] Question about API Integration
October 01, 2020 09:38AM
Yes, they are to seperate designs. An API (Application Programming Interface) is an interface which defnies interaction between software inermediaries.
Therefore no additional is required from the application as with a SDK.
The Google Fit API uses OAuth2.0 for its authorization and REST for its data access as seen on the developer page.

Have a look at:
help.windev.com
Re: [WM24] Question about API Integration
October 08, 2020 12:37PM
Koen Wrote:
-------------------------------------------------------
> Yes, they are to seperate designs. An API
> (Application Programming Interface) is an
> interface which defnies interaction between
> software inermediaries.
> Therefore no additional is required from the
> application as with a SDK.
> The Google Fit API uses
> OAuth2.0
> for its authorization and REST for its data access
> as seen on the developer page.
>
> Have a look at:
> help.windev.com


Thanks for the information Koen, I'll give OAuth a try to connect between google fit and a test app I am making
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: