Questions tagged [api]

DO NOT USE. Use specific tags like [google-cloud-platform], [facebook], [amazon-web-services] instead or [api-design] where applicable. Questions asking to recommend or find an API are off-topic.

Application Programming Interface (API) is a source code based specification intended to be used as an interface by software components to communicate with each other. A good API makes it easier to develop a program by providing all the building blocks. A programmer then puts the blocks together. An API may include specifications for routines, data structures, object classes and variables.

An API specification can take many forms, including:

  • an International Standard such as POSIX,
  • vendor documentation such as the Microsoft Windows API,
  • the libraries of a programming language - e.g. Standard Template Library in C++ or Java API.

An API differs from an ABI (Application Binary Interface) in that the former is source code based while the latter is a binary interface. For instance POSIX is an API, while the Linux Standard Base is an ABI.

Source: Wikipedia (Application Programming Interface)


Questions asking us to recommend or find an API, documentation or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

Link to the API Burninate Request

107148 questions
12
votes
2 answers

how can I authenticate a user from a web app to an API?

It seems to be a widely asked questions and after having read tons of documentations on the subject, I'm still not sure to have understood everything correctly (I assume that being dumb is a possible answer ;)). I'm trying to build an API that will…
Cyril N.
  • 38,875
  • 36
  • 142
  • 243
12
votes
4 answers

How to use a Postman Mock Server

I have followed the guide here to create a postman mock for a postman collection. The mock seem to be successfully created, but I have no idea how to use the mock service. I've been given a url for the mock, but how do I specify one of my requests?…
Jim Aho
  • 9,932
  • 15
  • 56
  • 87
12
votes
4 answers

Is there a Google Insights API?

I've been looking for an API to automatically retrieve Google Insights information for part of another algorithm, but have been unable to find anything. The first result on Google delivers a site with a python plugin which is now out of date. Does…
Herman Schaaf
  • 46,821
  • 21
  • 100
  • 139
12
votes
1 answer

How to use an api key in python with google translation api

I read a couple of hours in the google docs about this but I still have no clue what I'm doing. I basically just want to use the google translation api to translate a few words that I had in mind. I have a valid account with billing details and I…
12
votes
1 answer

Unity says API level is too low

The exact error: Minimum API Level Not Supported on Requested VR Device Cardboard Requires a Minimum API Level of 19 Though in the Android SDK Manager, it says I have revisions 25.2.5, 25.0.5, and 25.0.3 installed.
12
votes
5 answers

Developing Chat API like that of Stackoverflow

How to begin developing chat api, like the one stackoverflow uses? If it is open source, where can i find it, if not can anyone guide me how to build a similar chat api?
mrN
  • 3,734
  • 15
  • 58
  • 82
12
votes
4 answers

Wordpress - How to update user password using REST API

I am using wordpress as well woocommerce for my web store and also using woocommerce REST API for Android app. I have used WP REST API and JWT Authentication for WP-API plugins for user authentication and login through rest api. Now when I am using…
DD77
  • 776
  • 2
  • 8
  • 25
12
votes
4 answers

IB API Python sample not using Ibpy

Can someone help me to figure out how to do basic request by using IB API Python socket? (I am using the latest IB API and it seems it support Python so should not need the Ibpy which people used to use) My code like this can simply work and make…
Albert H
  • 159
  • 1
  • 1
  • 9
12
votes
1 answer

OnActionExecuted get status code

Is there a way to get the HTTP status code from MVC action from OnActionExecuted, without using the session variables?
Brian
  • 197
  • 4
  • 14
12
votes
6 answers

Accessing Google spelling/suggestion API via C#

I want to use Google's spelling correction/suggestions in an app I'm doing. I've googled it but all I found was examples for Google's canceled SOAP API and the newly deprecated XML Web Search API. I just want to be able to send a search query and…
Francisco Noriega
  • 13,725
  • 11
  • 47
  • 72
12
votes
3 answers

Custom representation of Streamfield in rest API

I have a few questions about this thread: https://groups.google.com/forum/#!topic/wagtail-developers/Z4oaCIJXYuI I am building a headless Wagtail, with a React-based frontend, that calls Wagtail API in order to parse JSON and display content. Pretty…
fabienheureux
  • 380
  • 2
  • 12
12
votes
1 answer

JSON API filtering standards for more complex queries

I am writing a REST api using ruby on rails. I am using json api as a guide for the standards to use when building the api. I am trying to figure out the best way to use filtering in the GET requests. The json api recommendations for filtering only…
David North
  • 437
  • 1
  • 4
  • 17
12
votes
1 answer

Stripe: Add metadata to subscription on creation

So I've been trying to learn Stripe API recently... I'm getting there slowly but have come to a bit of a speed bump with this metadata information. What I am looking to achieve is add metadata to the subscription when the subscription and customer…
Snappysites
  • 804
  • 1
  • 10
  • 41
12
votes
2 answers

Laravel : How to send image or file to API

I have an API (created by Lumen) to save an image or file from client side. this is my API code if ($request->hasFile('image')) { $image = $request->file('image'); $fileName = $image->getClientOriginalName(); $destinationPath =…
Code On
  • 213
  • 2
  • 5
  • 13
12
votes
3 answers

API to Database?

Please presume that I do not know anything about any of the things I will be mentioning because I really do not. Most OpenData sites have the possibility of exporting the presented file either in for example .csv or .json formats (Example). They…
yannick
  • 185
  • 1
  • 1
  • 7