api

Any free/cheap bandwith shaping or network impairment software with API?

I'm looking for a (preferably) free software to install on a dual NIC box to shape badwidth and/or introduce packet loss, latency, etc. Now I know dummynet and similar software but I need an API to control it. Maybe a simple RESTful http or SOAP based one. Preferably something more manageable than command line. It may not be a producti...

Custom command line utility. How?

Recently, I've released an open-source class - wrapper of API functions available from one of the leading SMS gateway, which provides an HTTP-API access to send an SMS messages. Now I want to make a custom command line utitity, which can be available for user anywhere in the command line, so he can send SMS just by running console comma...

(Win Api) Check if an external application window is on the taskbar

Hello. I'd like to know if it's possible to know if an external application has an window that is showing up on the taskbar. I have a program that sometimes shows up an error message and it appears on the taskbar. If I "close" the message, it will go invisible, but from what I've seen it still exists. So the only way for me to know if th...

Can you get the exact date a user started following another using the twitter API?

Let's say user A follows user B, and B follows A. I want to know the exact date A started following B and viceversa. Is this information stored on twitter? Can I retrieve it using the API? To clear out: The point of this question is finding a way to know who followed who first. (I'm assuming both A and B deleted the notification e-mails...

Create PDF from word document from desktop application using C++ or C#?

Any easy way to create a PDF document of a word file from desktop application using C++ or C#? any best practices, please share. list all possible APIs free/paid so that this thread helps C++/C# programmers. ...

Link to iTunes music

I would like to enable users to as simply as possible go to a certain music album in the iTunes music store (not the app store). Is it possible to create such a direct link that opens iTunes music store with particular music album or song? You can see such behavior in Shazam. ...

Why is the Bigdecimal(double d) construction still around?

I've noticed substantial pain over this constructor (even on this forum). People use it even though the documentation clearly states: The results of this constructor can be somewhat unpredictable http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html#BigDecimal(double) I've even seen a JSR-13 being APPROVED with a recomm...

Are GWT wrappers on top of javascript libraries discouraged?

I'm in a process of selecting an API for building a GWT application. The answer to the following questions will help me choose among a set of libraries. Does a third-party code rewritten in GWT run faster than a code using a wrapped JavaScript library? Will code using a wrapped library have the same performance as a pure GWT code if th...

Video hosting/upload API service for small business (other than YouTube)

I'm looking for a company that provides video hosting with an upload API, for a small businesses. Now, I know YouTube has an API for harnessing their technology, but the client doesn't like the idea of YouTube hosting their content. Other than trying to justify YouTube's API, has anyone had a good experience with another provider, or kn...

How can I check if a window has WS_VISIBLE to set? (or if is visible)

How can I do it? It's an external window, not from my program. Thanks ...

C++ library with a Java-like API

Hello. Hoping that anybody here knows about a good one: I'm looking for a (free to use) C++ library with a class hierarchy and methods resembling the Java API, with at least the I/O & networking part if it, specifically HTTP handling. I work mainly with C & Java, but for this particular project C++ is recommended, so I thought of adopt...

What is the best way to add an API to a Django application?

I am adding MetaWeblog API support to a Django CMS, and am not quite sure how to layer the application. I am using django_xmlrpc, which allows me to map to parameterised functions for each request. It is just a case of what level do I hook in calls to the django application from the service functions (AddPage, EditPage etc) For django-...

API to look up business name, given a specific location?

I'm really hoping there's an existing service for something like this. I have a location (could be GPS coordinates or a street address, I can use geocoding or reverse geocoding services to switch between them) and I want to find a business that's listed as being approximately at that place. If this service doesn't already exist, I'm thi...

Is my understanding correct about web APIs

Is it true that any REST based API to upload videos will always require you to have the video file on your server i.e. it is not possible to pass it directly to that web service? I am just trying to rule out all the possible APIs that are open to me. Anyone know of an API I can make use of to upload directly from the users machine so t...

Free API for Parsing US Postal Addresses?

I'd like to use an API to parse US Postal addresses input into an ASP.NET application. I will store the input address, no matter how it's input, then attempt to parse and verify with the user. Does Google, Microsoft or Yahoo have such functionality in their APIs? If so, what is your experience with the various APIs? ...

Using scroll wheel to zoom in/out

I know this is available in version 2.x of Google Map API. But I couldn't find how to use it in v3, I'm not even sure if it's implemented yet. So I was just wondering if someone had the idea. Thanks. ...

Anyone have any knowledge on implementing Facebook Connect on an Asp.Net MVC app? (Or even a good tutorial to look at)

The only tutorial I've found so far is: http://my6solutions.com/post/2009/04/05/Integration-of-Facebook-Connect-on-ASP-NET-MVC.aspx I tried following it but it didn't get me anywhere because it kept saying there were missing methods (I'm guessing because the edited files he gives you is edited from an old copy of the facebook connect so...

Weather for specific date?

Is there any weather api that supports query weather for a specific date(or date range)? In my application, i need to show weather for today but last year. I can store weather in DB for aech day since now, and next year i'll be able to show last year's data. But it's not "sexy" solutions. Any ideas? Thank you. ...

How to capture a website API traffic data with Google Analytics?

I have a website where most of the traffic comes from the API (http://untiny.com/api/). I use Google Analytics to collect traffic data, however, the statistics do not include the API traffic because I couldn't include the Google Analytics javascript code into the API pages, and including it will affect the API results. (example: http://u...

Is this a correct way to return JSON in Python/GAE for parsing in JavaScript?

I am making an API for some AJAX related things in my web app on GAE in Python. After setting the content-type to 'application/json' and accessing my url directly- http://mysite.com/api?method=theMethod&param=firstParam -I am being prompted with a 'save file' dialog box instead of seeing the JSON object displayed. The file contain...