api

Geocoding API - Return Address Matches with given radius, city, or bounding box

I have an application that takes in an address in one of the following formats: 1234 Test Ave 1234 Test Ave, 43201 1234 Test Ave, Columbus, OH I am looking for a geocoding solution that will work with the first format, which is simply a street address with no city or zip code data. When a user enters a street address, ...

How can we create library from Application? (Deriving library/API from Applications)

Dear Experts, My intent is to create a library/API for small scale distributed multi-user game /simulation. i have created couple of applications using java RMI, i tried to keep them simple and to achieve decoupling and now i want to transform those or want to derive/extract from them a generic template. Can somebody please shed ligh...

google ajax search api

Hello! I'm using the Google AJAX search API and I found that I can't get more than 64 results for a query and Google limits the search results per page to 8. while searching for a solution I found a script that may increase search results to 7168 results. Here is the link: http://www.teamlalala.com/blog/2009/01/05/google-api-limits-re...

Removing Facebook application through API

I have a web app that adds an application to a users profile, and requests extended permissions. I can't seem to find if there is a way to use a script to remove the application from the users profile when they request to do so from my web app. I know they can remove the app when logged into Facebook, but I want to know if I can remove ...

What does "Ex" stand for in Windows API function names?

In windows APIs and various other libraries where I have seen multiple entry points to methods I have noticed the use of the Ex abbreviation in scenarios such as MyApiCall and MyApiCallEx. My assumption is that this stands for Extension or Extra could someone please confirm? Any history on why Ex was chosen rather then MyApiCall2 or si...

Java, Cannot reduce the visibility of the inherited method from object

Continuing from this question: http://stackoverflow.com/questions/1600667/method-overriding-and-visibility-in-java I need to create class B that is almost identical to class A, except that B cannot do certain things that A can. Being a lazy programmer as I am, I tried to inherit A, only to greet with error that B cannot reduce the visi...

Does the wikipedia api support searches for a specific template?

Is it possible to query the wikipedia API for articles that contain a specific Template? The docs at: http://en.wikipedia.org/w/api.php do not describe any action that would filter search results to pages that contain a template. Specifically, I am after pages that contain Template:Persondata. After that, I am hoping to be able to retrie...

way, to enforce upgrade of iphone-app inside app-store?

When releasing multiple versions of an iphone-app, there are problems: you are running very old apps (still need to support them through server-api) you have to live with bugs of a certain app, once released blocker-bugs are not fixable Is there a way to mark an iphone-app as unsupported or enforce an online-update, i.e. when it star...

Can Java applets use API's for hardware?

I've been tasked with creating software that needs to work on Macs and PCs. The software needs to talk to some USB hardware that does bits and bobs. To prevent having to maintain two pieces of software, I thought about the possibility of writing a Java applet, I'm pretty new to Java but am OK at C# and C, and did do a bit of Java at un...

Use cases for web application API?

Nowadays a lot of web applications are providing API for other applications to use. I am new to the usage of API so I want to understand the use cases for it. Lets take Basecamp as an example. What are the use cases for using their API in my web application? For inserting current data in my web application into a newly created Basec...

Can you set Exact Target to push to your server when a change happens on their end?

I am curious if any that has dealt with Exact Target has dealt with having them push changes of your subscribers to your server. Much like the Mailchimp Webhooks. I am just looking for the documentation of such feature or where it is located in the system. Thank you. ...

parse content with PHP

hello. I'm trying to use uTorrent webUI API. I think this is a pretty n00b question but there's little documentation about this API on the web, sorry. my server uses file_get_contents($url) and I get the data I want. but in a format I do not understand. for example: { "build": BUILD NUMBER (integer), "label": [ [ ...

Using Tritonus AudioSystem: Convert PCM byte[] array to mp3 byte[] array

One of the libraries in my audio project continually outputs a byte[] array stream of PCM audio (along with a length and offset integer). I'm learning to use the Tritonus implementation of the Java Sound API to encode this PCM stream into mp3. The Java Sound API provides an converted/encoded byte[] array via an AudioInputStream (create...

Why am I getting null value when trying to use the mediawiki api from a chrome extension js script?

I have a javascript script in a chrome extension i'm building. It is content script. The script is using mediawiki api: function wikifind(str) { var req = new XMLHttpRequest(); url = "http://en.wikipedia.org/w/api.php?action=query&format=xml&titles="+str; req.open("GET", url, true); req.send; } I have two ...

Are there any Good Open API for Web Frontend Paint Tools ?

Hi Stack Overflow! I'm currently attempting to develop an HTML5/JavaScript application which is similar to: http://mugtug.com/sketchpad/ The source is right there, but I think I'd run into some copyright issues by cutting/pasting (I suppose I could contact them), but I'd rather use some free APIs that would have similar functionality. ...

Does Bing Map SOAP services provide API similar to drag route in Bing Map site?

In Bing map site when you request a route( like this link: http://www.bing.com/maps/#JmNwPTM5Ljc1MDQzNDE2MDIzMjUyfi05OC4yNDU2OTg5MjEzODI0MyZsdmw9NCZzdHk9ciZydHA9cG9zLjQwLjcxNDU1MDE2NzMyMjE2Xy03NC4wMDcxMjQ5MDA4MTc4N19OZXclMjBZb3JrJTJDJTIwTllfX19lX35wb3MuMzcuNzQ1NjI0Xy0xMjIuNDg0NTU0Xzk0MTE2JTJDJTIwQ0FfX19hXyZtb2RlPUQmcnRvcD0wfjB+MH4=), and...

How to create my JQuery Carousel Plugins to an API

Hi, Please see my JQuery Carousel and let me know how can i do this is an API? I have shared my codes on http://jsfiddle.net/Jmj5u/2/ Below is my plugin `if (window.jQuery) { if (!window.jQuery.fn.productCarousel) { (function ($) { window.Config = (window.Config === undefined) ? {} : window.Config; var Confi...

How do I write this to a file? I already implemented the Twitter streaming API (Python)...but it just prints to console.

from getpass import getpass from textwrap import TextWrapper import tweepy import time class StreamWatcherListener(tweepy.StreamListener): status_wrapper = TextWrapper(width=60, initial_indent=' ', subsequent_indent=' ') def on_status(self, status): try: print self.status_wrapper.fill(status.text) ...

API: return only JSON format

Hi all. I am developing a REST API for my web application for public use. I am tempted to provide only JSON as format for the response as it is more lightweight than XML (on large traffic, any byte counts). I think any programming language and platform is able to easily and effectively parse JSON, nowadays. So, what do you think abou...

Post request by ruby code and JAva code for Rails application

Hi, i am trying to call my Rails app using Ruby code . I m having 2 tables . Blogposts (id,name,slug,desc) Comments (id,data,node_id,node_type) I m trying to post a comment through my ruby code. The Url for me is like http://localhost:3000/api/blogs/comment.xml?slug=blogtitle-0&comment=aaaaaaaaaaaaaaa I dont know how to write ...