By Jon Salz. Revised and expanded by Roberto Mello rmello at fslc dot usu dot edu , July One of OpenACS's great strengths is that code written for it is very close to the database. It is very easy to interact with the database from anywhere within OpenACS. Our goal is to develop a coherent API for database access which makes this even easier.
Connect your API to a data source
Introduction to web APIs - Learn web development | MDN
If a developer wants an application to tap into a particular database, using an API would be the ideal way to accomplish this. Perhaps that's why the Database category on ProgrammableWeb is such a popular place for developers to visit. In this article, we provide a list of the ten most popular Database APIs from the past year according to page views on ProgrammableWeb. Each of these APIs arm developers with programmatic access to a variety of databases, including food and recipes, barcodes, geographic data, holidays, movies such as Star Wars! The API enables users to search for recipes using natural language such as "gluten free brownies without sugar". Users can visualize recipe nutrition and ingredient lists, analyze recipe costs, find recipes by nutritional requirements, favorite ingredients, or what's in the refrigerator, classify recipes, convert ingredient amounts, and even compute an entire meal plan.
Introduction to web APIs
The following sections briefly discuss the parameters and request authentication used with the Query API. Each Query request must include some common parameters to handle authentication and selection of an action. Some operations take lists of parameters.
Most modern web applications expose APIs that clients can use to interact with the application. A well-designed web API should aim to support:. Platform independence. This requires using standard protocols, and having a mechanism whereby the client and the web service can agree on the format of the data to exchange.