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
15 answers

What Python GUI APIs Are Out There?

Simple question: What Python GUI API's are out there and what are the advantages of any given API? I'm not looking for a religious war here, I'm just wanting to get a good handle on all that is out there in terms of Python GUI APIs.
akdom
  • 32,264
  • 27
  • 73
  • 79
12
votes
2 answers

If a REST API method fails, should I return a 200, 400, or 500 HTTP status message?

When a user submits invalid data to my API (usually via Javascript + JSON), I am wondering which HTTP response code I should reply with. Should I return a HTTP 200 response with the errors - or should my server respond with a 400 or 500 error since…
Xeoncross
  • 55,620
  • 80
  • 262
  • 364
12
votes
1 answer

getting a "connection reset by peer" error when hitting Google Contacts API

I'm trying to pull Google Contacts into a Rails application using the Google Contacts API. I've completed the Oauth2 handshake, and am now requesting the protected resource with my access token. Here is the code: uri =…
user276712
  • 862
  • 4
  • 12
  • 20
12
votes
2 answers

API/Data Sources - Linking and Pay-Per-Use

I am an independent developer who wanted to write a simple commercial app to display movie showtime information. After doing a whole lot of research, I could not find any good "legal" way of getting this data. One option I considered was…
12
votes
3 answers

How to create a directory in C++

i just found a little piece of code that let me create a directory with windows API without using system(). The only problem is that i can't create directory in subdirectory. For example #include int main(){ CreateDirectory…
user1143336
  • 259
  • 1
  • 4
  • 11
12
votes
2 answers

Wikipedia list=search REST API: how to retrieve also Url of matching articles

I'm studying Wikipedia REST API but I'm not able to find the right option to get also URLs for a search query. this is the URL of the…
Fabio Buda
  • 769
  • 2
  • 7
  • 16
12
votes
4 answers

iOS facebook check if friends have app installed

Is there already a way with the facebook ios API to get a list of friends who have your app installed? I basically require something similar to "Words with Friends" where they can determine which of your FB friends are playing the game. I have one…
Firefly
  • 282
  • 5
  • 13
12
votes
7 answers

Python vs. C# Twitter API libraries

I have experience with both .NET(5yrs) and Python(1yr) and I want to create a simple web project with Twitter as the backbone. I have experience with AppEngine, and have always wanted to try Azure. I'm going to make extensive use of sending and…
oleks
  • 788
  • 2
  • 8
  • 19
12
votes
3 answers

Is there an API for searching Stock Symbols based on Company Names?

This is a similar question to Stock ticker symbol lookup API however that was never answered to the standard I think is needed for a commercial application. The problem is this: Given a company name, partial name, or stock symbol, return a list of…
danpalmer
  • 2,163
  • 4
  • 24
  • 41
12
votes
2 answers

how to implement python spell checker using google's "did you mean?"

I'm looking for a way to make a function in python where you pass in a string and it returns whether it's spelled correctly. I don't want to check against a dictionary. Instead, I want it to check Google's spelling suggestions. That way, celebrity…
Sean Gransee
  • 281
  • 1
  • 3
  • 9
12
votes
5 answers

Amazon Product API with R

I would like to use R to send requests to the Amazon Product API service. Is there a way to authenticate and query the Amazon Product API with R without getting the following error: "The request signature we calculated does not match the signature…
user1063101
  • 123
  • 1
  • 4
12
votes
2 answers

Should the access token in oAuth be generated every time the user logs in?

I've implemented the oAuth in php (currently for twitter) and as I've read in several tutorials you should store the access token in db for future use. However I don't see how you know if you have the access token stored for a particular user to…
Juank
  • 6,096
  • 1
  • 28
  • 28
12
votes
6 answers

Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be "http" or "https" for CORS request

I'm trying to make a request to my local API from the Swagger documentation, but it always gives this error when I make the request
Iago Alexandre
  • 307
  • 1
  • 1
  • 8
12
votes
2 answers

What free/paid search API's allow for programmatic querying and caching/storage of the resulting data?

If you've done any serious research into search API's, you know that most of them have a huge slew of TOS/TOU restrictions that make them nearly impossible to use in anything but the most inane applications. Bing's 2.0 API, Yahoo Search BOSS, Google…
rinogo
  • 8,491
  • 12
  • 61
  • 102
12
votes
1 answer

How to display only one country or a specific area in Google maps using the api?

I am using Google Maps in a project and I want to display only a country map in my map window i.e. I want only the US to show on my map not Canda and Mexico and so on, cutting away the superflous information for the app I am building. I found some…
Reed Richards
  • 4,178
  • 8
  • 41
  • 55