Mapping Your Connections: APIs, SDKs and Flat Files
Every business runs on several tools: a sales system, an accounting system, a spreadsheet or two. Getting them to share information is called integration. Before building anything, it helps to draw a map of what connects to what. There are three common ways to connect.
Flat files: the shared spreadsheet
A flat file is a plain table of data, usually a CSV or text file. One system exports it, another imports it, often on a schedule. Almost every tool supports this, and anyone can open the file in Excel. The downside: the data is only as fresh as the last export, and you must check each file for errors yourself.
APIs: the waiter between two systems
An API (application programming interface) is a set of rules that lets one system ask another for specific information, like a waiter carrying your order to the kitchen and bringing back the dish. It is quick and can run continuously. Watch for limits on how many requests you can make, and for charges per request.
SDKs: a ready-made toolbox
An SDK (software development kit) is a toolbox that makes using an API easier for developers. It handles the repetitive parts so they write less code. It still relies on the API underneath.
Drawing your map
List each connection with four facts: what it links, which method it uses, how often it updates, and who owns it. For example:
Connection Method Updates Owner
Online store -> CRM API Live Sales ops
Bank -> Accounting Flat file Nightly Finance
Survey tool -> Sheet SDK script Hourly Marketing
Which should you pick?
A simple rule: use an API when the tool offers one that does what you need. Use flat files when it doesn’t, or when you are moving large batches. Many companies use both. Whatever you pick, write down what should happen when a connection fails, because eventually one will.
This short video explains how APIs and SDKs differ.
Further reading
- API vs flat file integration (Merge): how to choose
- Flat file vs API integration (Nanonets): speed, scale and ease of use
- Flat-file vs API for accounts payable (Tipalti): pros and cons with examples
- SDK vs. API: what’s the difference? (IBM): how the two work together
- API vs flat file for data transfers (Fishbowl): a beginner-friendly comparison
- API technical and data standards (UK Government Digital Service, national government): how a national government designs and documents its APIs