Creating your own API with frends
The product interface is done in the business’s SQL product database. Frends is used to create a layer where the created product interface can be published to other service providers. The integration platform is used to track who’s inviting the interface and how users are able to consume the interface. This makes interface reporting and further development possible.
The task is, therefore, to create an interface that connects the product database with the published API. In FRENDS, the interface is constructed by creating a mini service that is connected to the background system.
- At first, you define what the interface looks like. One interface is published with a product listing which is returned to the API consumer.
- A block inside which data is retrieved from the SQL data system is dropped inside the mini service. SQL is defined as the system in this block’s Query field. The format of the data in the SQL database and the location of the database are edited. The SQL expression is inserted into the database. Creating one database in the mini service takes just a few minutes. If the data is in several databases, the process looks a little different.
- Does it work? Frends lets you perform a unit test to see if the mini service solution works. When the mini service is used, data is returned to the consumer from the SQL server’s query. It works! A tested service that is transferred to version control is created. API is now ready.
From a single API to API economy
When you move from a single API to doing business with APIs, the industry standard tools will help you. With those tools, you can control identity management and registrations, for example, as only a registered user can build invitations. You must also configure the API entry policy, which means you define who can see the invitations. This can be limited based on, for example, email addresses. It is possible to include a consumer through identity management and to track what happens in the background when API is consumed.
In addition, you must make sure that consumers can find the service. Search engine optimization is important in how you advertise your services and encourage customers to register with the service and use it.
Creating this kind of a service takes approximately 4 hours, which is only half a person-day! Creating APIs does not need to be a project of EUR 200,000. You could even say that APIs today are what websites were in the 1990s. In the API economy, you can start off small. The key thing is that you join the game.