6.2 Application Programming Interfaces (APIs)

Establishing a set of rules and protocols that allows different software applications to communicate, enabling the exchange of data

Why should I do this?

To enable the integration of different software systems, allowing them to work together and share data. Using APIs can be a huge timesaver: instead of having to source data from outside, you can simply tap into the data through a predefined API communication channel. By exploring how APIs are used, you should be able to assess whether your investment needs an API, and which APIs are relevant to your project.

 

How do APIs relate to FAIR?

 

Accessibility: Building an API as a means of access for your final product, or for the dataset that underlies it, means that users can load the data directly to the application they will use for their analysis or presentation, rather than having to download it as a file onto their local device. When users are constrained by their devices’ storage capacities, APIs present an accessible alternative. Similarly, APIs provide means of access for machines, allowing them to query your data as and when they need to.

 

Download this API factsheet for more insights.

 

What is an API?

An API is a set of rules and protocols that allows one software application to interact with another. In this context, it can be thought of as the way in which a machine can access data from another machine directly. It defines the methods and data formats that applications can use to communicate with each other. APIs are widely used in various contexts, including web development, mobile app development, cloud computing, and integration of third-party services. They enable developers to build on existing platforms, leverage functionalities provided by other applications, and create more robust and feature-rich software solutions.

 

1) If you are a Program Officer (PO), you may want to share this page directly with your grantee, so they can act on it.

2) If you are a grantee, ensure you have technical team members involved in this process. While the content is accessible to both technical and non-technical members, technical expertise will be required to make decisions for the investment in this step.

3) If you have not already downloaded ‘Project SIS’ or ‘Waterways’, the illustrative scenarios provide examples on how each theme is navigated. These scenarios are frequently referred to across the content in Step 6 to help you understand how different aspects within a theme are applied.

 

Things to consider for your investment:

©Gates Archive/Mansi Midha ©Gates Archive/Mansi Midha
  • Refer to the illustrative scenario that you have downloaded to see how this has been considered.
  • Ensure any work notes or decisions taken are being documented, as this would be useful to refer to at later stages, or for someone new joining the team.

Project SIS

Only the specific theme-related content has been highlighted here.

 

1. Data onboarding

 

Visual Crossing has an API, much like other sources of meteorological data used in agricultural science. This API will provide meteorological data for the areas we are interested in as a .csv file. As per the terms of use mentioned above, our use of the API will have certain constraints, though the project is in an advantageous position in this regard, as we will not be requesting data frequently.

 

2. Data products

 

Although the Project SIS data will be held on the SoilScience website, we are considering building an API that can be used by researchers to import data that fits their needs directly into the analysis tools they use.

 

To do so, we will explore APIs in the agronomy sector that fulfil similar roles to SIS. The NRCS web soil survey API might help in this regard.

Waterways

 

Data onboarding

 

APIs will be used to access the satellite data held by TPPs. For our queries, the APIs will respond with data on surface temperatures and vegetation health, as either KML files, shapefiles, or basic CSVs.

 

To ensure the data we get back is limited only to our area of interest – i.e., the area in which WRO operates—we will build and apply a ‘mask’ as part of our API query.

The theme of APIs can be important at different stages of your project, whether or not you expect that to be the case. To help you incorporate them into your project planning, this section provides suggestions about where you should think about the theme, structured using the stages from the Data Value Chain (DVC).

 

The DVC is a way of viewing the process of running a project from the point of view of the data, thereby identifying how it is onboarded, processed, enriched, analyzed and released in a product. In doing so, the DVC shows the moving parts in project implementations, making it a useful framework regarding the general steps any project working with data takes.

 

 

There are many benefits to data sharing, and this includes the secondary reuse of data for investigating new issues apart from its original purpose.

Learn more
Was this page helpful?
YesNo