api

How can I program Excel to Work with Outlook?

I have a fairly large Excel file. In this file there is a column with dates. I would like to know if/how it would be possible to make a program that would be able to read the date and post a notice 30 days in advance to Outlook Calendar or send out an email through Outlook in my office. Is there a decent API that I could use for this?...

API for retrieving driving directions and traffic data?

I'm interested in working on a side-project at work that integrates traffic data and automated route planning with our dispatching application. However, it seems that Google Maps and the Microsoft Virtual Earth Platform place restrictions that interfere with what I would like to do. Is there an API (free or commercial) that allows the f...

SMS API Suggestions

I am looking for several SMS api. Basically to receive sms messages from mobile phones. Any suggestions? ...

How to protect API Key in Flex/AIR from decompiling?

No obfuscation please and simpler the better. Similar post is http://stackoverflow.com/questions/294777/shared-secret-with-api-in-an-ajax-adobe-air-app but I was not convinced that these protect from decompiling. If they do, please explain (For example, what's stopping someone from decompiling and using the URLLoader themselves). ...

API vs. Webservice

What is the difference between a webservice and an API? Is the difference more than the protocol used to transfer data? thanks. ...

Libraries for recieving Faxes for .NET platform

Can you recommend a library for .NET that can receive FAXes? Window Fax server is not enough - need to auto process and route the Fax once it is received based on the incoming Caller ID. ...

Get the Address details (like city, state etc.) of a prticular IP

Working on a mashup where I need an API which gives me details of Address if I pass IP of that parcular locton. Can anyone help me to get an API?? heard about iploc but its no longer available..:( ...

What's the best way to programmatically output a file in the format of a Word document in Ruby?

I need to output a file in the format of a Word document from a Ruby-based web app (Rails/Sinatra) based on some textual content in the app. Is there library support in Ruby for creating and structuring a Word document? ...

Google Maps zoomOut-Pan-zoomIn animation

I'm wondering how I get a smooth zoom in animation with the Google Maps API. I have 2 points, one in, let say China, and one in France. When I'm zoomed in on China, and click the button France. I want it to gradually zoom out smooth, one zoom level at the time. When it's zoomed out it should pan to the new location, and then zoom in on ...

Weather Api

Hi, I have used yahoo api for getting the weather through zip codes. But the problem is that currently it supports U.S zip codes. For other cities i have to go to weather home page and search for the cities and get the location id then i am able to get the weather conditions. I want to make it dynamic so that a user should only provi...

Accessing DOM Webkit Objective C

Could someone who is familiar with webkit please explain or point me in the right direction as to why the following code does not work What i'm trying to do is load a page, have webkit parse it and simply print out the title. Here is what i've got: #include <iostream> #include <WebKit/WebKit.h> using namespace std; /* Seek Help */ ...

download random image from flickr using keyword

Hey all, I noticed this code when i was playing around with smallbasic showing it to a freind that it has a built in option to download a image from fliker based on a keyword I was wondering if someone had an example in C# of doing this so that i can get an idea of how to use the api. ...

How does one get sports related statistical data for many of the sports apps you see today?

Is there a source for sports related data? I'm thinking there must be some sort of subscription based API out there somewhere because I'm seeing so many of these type of applications these days, on the Web, desktop, and mobile phones? Anyone have any real world experience on how to go about this right, and affordability? ...

Is there any library to represent SQL queries as objects in Java code?

I was wondering if there is any library that can be used to represent SQL queries as objects in Java. In the code I have plenty of static variables of type java.lang.String that are hand written SQL queries. I would be looking for library having a nice fluent API that allows me to represent the queries as objects rather than strings. E...

Am I using Yfrog's API correctly to make a HTTP request with POST data?

I am trying to use YFrog's API. I think I am using it correctly to try and send a HTTP POST request that is of content type XML. However, as the response body, I am always getting a 404 error for some reason. Here is their API: http://yfrog.com/upload_and_post.php Here is my attempt of PHP code to upload. $data = array('media' => 'htt...

How should I return an NSError object from a delegate method?

I'm designing a delegate method that is called when the remote server needs input from the delegate. The delegate at that point is responsible for filling in data to be sent to the server and also telling the server if there is an error at that point. The delegate method I have right now is: -(void)server:(MBServer*)server willSendDat...

C/C++ Windows API sending text to clipboard

This code is supposed to send a string to the clipboard. However I got it to work once. Now it does not come up correctly when I CTRL+V. But when I use this snippet to identify the clipboard text it shows what it should be. #include <windows.h> #include <iostream> BOOL SetClipboardText(LPCTSTR pszText) { BOOL ok = FALSE; if(O...

Zend Framework routes with ajax friendly parameters

I'm building a REST API with Zend Framework. I have routes setup that are mapped to all the resources I modeled. I also created a RESTful controller plugin to direct the different types of requests (PUT, GET, etc..) to the right controller action. I'm making ajax calls with jQuery and by default it appends GET parameters to the URL for ...

Find out what process registered a global hotkey? (Windows API)

As far as I've been able to find out, Windows doesn't offer an API function to tell what application has registered a global hotkey (via RegisterHotkey). I can only find out that a hotkey is registered if RegisterHotkey returns false, but not who "owns" the hotkey. In the absence of a direct API, could there be a roundabout way? Windows...

Apache commons PredicatedList with no IllegalArgumentException

Is there a way in Apache Commons Collections to have a PredicatedList (or similar) which does not throw an IllegalArgumentException if the thing you are trying to add doesn't match the predicate? If it does not match, it would just ignore the request to add the item to the list. So for example, if I do this: List predicatedList = List...