api

Is there a Google Search API designed for server-to-server communication?

I.e., I want my web server to initiate a Google Search, manipulate the results, and send the result back to the user's browser. I know there's an AJAX API designed for searching client-side with Javascript, but is there a non-AJAX API designed for server-to-server communication (like there is for maps)? ...

JavaDoc to (Doku)Wiki conversion / doclet

Our company has a very large public Java API which is currently being released standalone and online using (of course) JavaDoc. It is surrounded by product documentation which links into the API. We are moving our static documentation to DokuWiki - which works pretty good - and want to keep the links. Now it would be good to have a me...

VB6 API Declaration Path

I have the following declaration in a Module: Private Declare Function gzopen Lib "ZLIB.DLL" (ByVal filePath As String, ByVal mode As String) As Long The following code line in a function fails, with a 'File Not Found: ZLIB.DLL' error: lGZFileHandle = gzopen(sPath, "rb") I'm aware that ZLIB doesn't need to be registered. My questi...

Python Weather API

How do I get my weather in a Python program? ...

Become a fan of a Facebook page through the API?

In my specific case, I'm writing an iPhone application. I've seen widgets you can place on your website that users can click on to become a fan of your page, but I can't find anywhere in the api or documentation, a way that you can facilitate "becoming a fan" through an application. Has anyone else had success with this? I've spent ab...

Get software versions and information via API

Is there any free/commercial API to get information about software. The best would be to get as much info as possible but at least what is the current version and so on would be fine. I have tried to look on sites like http://wakoopa.com (They only have per user) and http://www.versiontracker.com/ but can't find exactly what im looking f...

Passing multiple sessions_key to Facebook API

I'm current developing web-app that allows a user to associate their account with their Facebook account. I have no trouble getting the users Facebook id/session_key and extended permissions. What I am having trouble is caching the users data in a single call. Their documentation for User.getInfo allows multiple uid's to be passed to ...

RESTful Media Sharing API

Does anyone know of any good free media sharing sites like twitpic.com, but not for just twitter? It needs to have a good RESTful API. Preferably hosts video and audio as well as images. Kinda like mobypicture.com, but with a RESTful API. ...

SMS REST Service?

Hi Everyone, I've got an application that does some work then hits an URI callback once the work is done. For testing, I'd like to send an SMS to my cellphone. Something like http://www.jonskeetistheman.com/SMSSend.aspx?phone=4255555555&msg=supdawg Are there any REST based SMS services (free) that ya'll can recommend? ...

How fast is simplexml_load_file()?

Hi. I'm fetching lots of user data via last.fm's API for my mashup. I do this every week as I have to collect listening data. I fetch the data through their REST API and XML: more specifically simplexml_load_file(). The script is taking ridiculously long. For about 2 300 users, the script takes 30min to fetch only the names of artists....

Post to twitter using oauth with from

I am unclear on how to post to twitter using oauth. Please do not just post a link on this page for me to look at because chances are I have already seen it. I have the section where they go to twitter and approve the app and come back to my site. I then store the information in access key and access secret key in the database from the u...

When working with most APIs, why do they require two types of authentication, namely a key and a secret?

I have been working with APIs and I've always wondered why you have to use a key and a secret? Why do you need two types of authentication? ...

How to achieve highest performance possible with any kind of OutputStream in java?

I need to write blocks of data (characters) and I don't care about the sequence of those blocks. I wonder what kind of OutputStream I should use to achieve high performance? ...

Facebook app JS API with iFrame example?

I have a Facebook app set as an iFrame, pointed to a file on my own server. I followed http://wiki.developers.facebook.com/index.php/JavaScript%5FClient%5FLibrary and the first example, but nothing shows up in the Error Console on Firefox or the textarea. The other non-Facebook stuff in this file works. What's a simple example using the...

Updating Twitter background via API

I'm having a little trouble updating backgrounds via Twitter's API. $target_url = "http://www.google.com/logos/11th_birthday.gif"; $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); curl_setopt($ch, CURLOPT_USERAGENT, $userAgent); curl_setopt($ch, CURLOPT_URL,$target_url); curl_setopt($ch, CURLOPT_FAILONERROR, tr...

Twitter background upload with API and multi form data.

Taken from the Twitter's API section. Why do my image uploads always fail? The image update methods require multipart form data. They do not accept a URL to an image not do they accept the raw image bytes. They instead require the data to be delivered in the form of a file upload. Has anyone came to a conclusion with th...

Does an API based on inheritance violate OCP? Can this be solved with a provider model/dependency injection?

I'm designing an API for the first time, and trying to follow SOLID guidelines. One of the things I find myself struggling with is balancing OCP and testability with simplicity and ease of extensibility. This open-source API is geared toward scientific modeling and computation. The aim is that various groups will be able to easily impor...

How to set a specific height for Google Maps infowindow?

I know the max width can be set with 'maxWidth', I wonder why isn't there a 'maxHeight' option. ...

How to calculate PageViews of a site using Alexa stats (formula?)

As simple as it sounds, I just want to know how to calculate the PageViews of a site using Alexa stats. Alexa gives PageViews per-million and reach % of total Internet users, etc. I only want a formula using Alexa data to calculate it. I know, Alexa data is not exact but my problem will be solved by that. Thanks in advance. ...

Gmail Task API exist?

Inside Gmail, there is a small function called "Task". It can allow me to enter a to-do-list. I'm wondering if there is any official / unofficial Google API to access / update the list by Java language? ...