DEV Community

Wachira
Wachira

Posted on

1 1

APIs vs SDKs

APIs (Application Programming Interface)

They are all about communications to other apps, they are like a bridge.

What makes them useful?

  • Communication: allows communication between apps
  • Abstraction: gets you what saving one the need to know the logic behind
  • Standardized: there are industry standards that define an API e.g. SOAP, REST(Representational State Transfer), and GRAPH

REST API Request Requirements

  • Operation: POST, GET, PATCH e.t.c
  • Parameters: Files, JSON, XML
  • Endpoint: The URL for the service/app you want to talk to

All REST requests have a response back from the service or app which can be a result, status, or empty content.

SDK (Software Development Kit)

SDK is basically a tool or code that makes API calls for you, an example you SDK could hold methods that one could basically call a payment gateway transaction by either passing certain arguments and get results from the initialized transaction.

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 🕒

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more