APIs : How to create Scriptcase Client application with APIs Libraries

Hello everybody,
I want to generate applications not from a connection to a database, but from REST APIs.
More and more softwares provide functions through API libraries, and it would be cool to imagine being able to build ScriptCase applications from these APIsed functions.
If someone has an idea for already being able to populate a grid from a customer API for example, I am interested …
Thank you all for reading
Have good days
BR
Christophe

Rest apis can be accessed pretty easy using curl or fopen. There is not automatic way to retrieve metadata like in a database. So you have to write the function prototypes yourself. Scriptcase strong point is the ease of creating forms based upon tables, not api functions. It depends on your need, but one option can be filling a temporary table with the data retrieved from the api, to allow you to use the form generating capabilities.

Thank you very much for this reply.
It was also the observation that I had made. I really like scriptcase in the case of database management, it should now evolve to allow connections to be made natively via APIs which is becoming essential in our business.
The best of wishes for the future.
Your idea of going through a table is interesting but will greatly affect response times
Best Regards
Christophe

1 Like

You are right. There is need now for connecting forms, grids etc with REST API.
A simple case example:
I want to create a mobile application and also web application. The mobile application will be using the REST API. So I will be writing all my business logic in the REST API along with the CRUD operations.
Now I also want a web application. Using scriptcase I will have to write the whole logic again. But if the appications like Form etc can connect with REST API , then need not write the whole logic.
Another example . Scriptcase has a multi step form which is a feature. In the multi step form . But all the steps of the form connect to a single table. If the same multi step form can connect to a REST API, I can create a multi step form which can connect with multiple tables.
I sincerely hope SC team will look into this.
Coming to the requirement of META DATA , as a developer we can create something equivalent which can be given to the form/grid etc giving information about the REST API

1 Like