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 to create nested boolean query with lucene API (a AND (b OR c))?

I have an indexed object with three fields (userId, title, description). I want to find all objects of a specific user where the title OR the description contains a given keyword. I have something like this (but that's obviously…
Arne Deutsch
  • 14,629
  • 5
  • 53
  • 72
12
votes
1 answer

Performance benchmark for API frameworks written in different languages

I'm building a REST API and I want to know if anyone has compiled a list of performance benchmarks in all or most of the following languages: Node Ruby Python Go I'm most familiar with the node frameworks (hapi, express, restify), but I'm curious…
Calebmer
  • 2,972
  • 6
  • 29
  • 36
12
votes
2 answers

Understanding the differences between Table and Transaction API's

Friends, This Ask Tom thread which I found via another SO question, mentions Table and Transactional API's and I'm trying to understand the difference between them. A Table API (TAPI) is where there is no access to the underlying tables and…
Ian Carpenter
  • 8,346
  • 6
  • 50
  • 82
12
votes
1 answer

Intercepting input from OS X speech recognition utility

This question follows from OS X Yosemite (10.10) API for continuous speech recognition OSX now has superb continuous speech recognition. But it doesn't appear to expose any API. I'm building custom HCI kit, and I need to catch this speech input in…
P i
  • 29,020
  • 36
  • 159
  • 267
12
votes
2 answers

Authenticating with Last.fm in Jquery - Invalid method signature supplied

I'm trying to auth a Last.fm session and am struggling to sign a request for a session key correctly. I keep receiving Invalid method signature supplied However when I md5 hash what i believe the query should consist of outside of JS, I get the…
TechnicalChaos
  • 452
  • 3
  • 21
12
votes
2 answers

How to exclude trashed files when listing files in google drive

I want to list all the files in google drive using google drive api v2 . But I want to exclude files in trash in the list So I tried GET https://www.googleapis.com/drive/v2/files?trashed=false as suggested in the api documentation But still I get…
Tachyons
  • 2,131
  • 1
  • 21
  • 35
12
votes
1 answer

Trying to describe the request and response using Data Structures in API Blueprint

I'm trying to document an endpoint with API Blueprint, using the new Attributes and DataStructures sections of the spec. My request payload looks like this: { "url": "http://requestb.in/11v7i7e1", "active": true, "types": [ { …
Piotr Zurek
  • 2,800
  • 2
  • 24
  • 32
12
votes
6 answers

HTTP Request in swift not working

I'm trying to learn about working with APIs in Swift. As a good first test, I figured I'd hit the itunes API and just return some search results. I'm in playground using the following code. I don't get any errors, but my println isn't outputting…
user2874270
  • 1,312
  • 2
  • 18
  • 31
12
votes
1 answer

What is a "pluggable" API?

I'm evaluating a piece of software (uPortal), and it lists one of its features as "Pluggable APIs." I know what an API is, but have not heard the pluggable term before. What does it mean for an API to be "pluggable"?
ngm
  • 7,277
  • 1
  • 53
  • 62
12
votes
4 answers

How can I forward $_POST with PHP and cURL?

I receive a POST request at my PHP script and would like to forward this POST call to another script using POST too. How can I do this? I can use cURL if it's required for this action.
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
12
votes
1 answer

Spotify Callback URI error

I'm working on my first app using ruby on rails and have run into a few problems when I deploy to Heroku. When I sign into Spotify on my app I get an error saying: INVALID_CLIENT: Invalid redirect URI in my console the error reads: Failed to load…
edrhuang
  • 121
  • 1
  • 2
  • 4
12
votes
1 answer

Using Data.Heap in Haskell, or reading Haskell docs for a beginner

I'm trying to use Haskells Data.Heap module, but I'm incapable of even using it with integers. The only heap I've been capable of using is "empty", which does not take any arguments. Later on I'll figure out how to instance for my needs, but for now…
Masse
  • 4,334
  • 3
  • 30
  • 41
12
votes
2 answers

Kraken API: Problems with authentication (Invalid key)

I am trying to implement the API of the bitcoin exchange Kraken in Java. Unfortunately I got stuck at trying to execute an authentication in order to retrieve private user data. In particular, I was playing with the following Implementation:…
user3116232
  • 433
  • 5
  • 17
12
votes
1 answer

Google Drive Video Player Start Time

I have embedded a Google Drive video file into my website and I want to set a start time for the video. Like embedding YouTube videos, is there a way of adding information at the end of the URL to set a start time? Can I do this with javascript or…
TyCox94
  • 405
  • 1
  • 8
  • 18
12
votes
3 answers

Instagram API: force prompt during authentication

Is there a way for the instagram auth(login) to always ask for authentication? This is skipped when the user is logged in and has already authorized the app. It would be something like twitter's use_authorize=true or google's approval_prompt=force.
index
  • 3,697
  • 7
  • 36
  • 55
1 2 3
99
100