api

Does Google have an API for its search engine?

Input a query, and Google's API will give me an XML of results? ...

Why is there OrderBy and OrderByDescending but not OrderBy(SortOrder)?

Currently if we get direction of ordering as an external dependency we have to use if to apply this direction: public static IEnumerable<FileInfo> getlist(string directory, string searchPattern, string order) { var files = new DirectoryInfo(directory).EnumerateFiles(searchPattern); if (order == "A") return files.OrderBy...

Bank transactor database

I see mint.com can identify what company performed a transaction on my checking account, and the company's typical product category. I presume this information is derived from a financial transaction's transactor/description field. Is there a free, public database or API I can use to do the same thing in my programs? ...

Where can I find an API to read movie budget?

I am looking for an API that would give me movie budget, domestic revenue and first wekeend revenue but I can't find any. Ideas? ...

JQuery call to oodle API returns nothing?

Hi, My question is specific to oodle API. I am trying to call oodle API to get the JSON result like this: $.getJSON("http://api.oodle.com/api/v2/listings?key=TEST&amp;region=sf&amp;category=sale&amp;format=json&amp;mappable=address&amp;jsoncallback=none", function (data) { alert(data); } ...

What is a fantastic image processing library for java that does levels, colour balance, saturation, sharpness, noise reduction and compression?

What is a fantastic image processing library for java that does levels, colour balance, saturation, sharpness, noise reduction and compression? I'm looking for something that is easy to learn, and has a high-level API... not something low level, unless it's the only option. ...

Catching Rackspace Cloudfiles Exceptions

Hi all, I'm having trouble catching exceptions when using the rackspace cloudfiles api com.mosso.cloudfiles. I have the dll referenced and can perform actions against my cloudfiles account, but when I want to try to catch an exception such as ContainerAlreadyExistsException, I get the error The type or namespace cannot be found. I've al...

Can you retrieve your Skype status using JSON?

Does anyone know of a URL to get your Skype status using JSON? I've only found an XML status URL so far (http://mystatus.skype.com/username.xml). (I'm trying to query Skype using AJAX. Yes, I could use a server-side proxy script to beat the cross-domain limits, but a direct call would be preferred.) Simon. ...

Suggested platform / tool / library for rapid prototyping of graphic design toolset

Looking to prototype a piece of software that works on a three dimensional canvas, with various tools and dialogs that manipulate the model. Looking for a platform with the basic set of user interface tools already available - basic model manipulation (selecting, moving, redimensioning) - dialog boxes, forms, modal windows, etc. On ...

Consuming RESTful APIs using Java

How would you consume a RESTful API using Java with probably just the standard packages? For ex: Twitter API. I know there are great Java libraries to access it, but how would you start from scratch? ...

Error in the file returned from a request to the Last.FM API

I'm using the Last.fm API with jquery as follows: $.getJSON('http://ws.audioscrobbler.com/2.0/?JSONCallback=?',{ method: "user.getweeklytrackchart", user: "rj", api_key: "fb04ae401284be24afba0fbc2f4b0efb" }, function(data) { //console.debug (data) } ); I'm getting the following error in Firebug: ...

Changing C variables from python?

I have an embedded python interpreter in my program. I'd like to export a module with values defined in my program and be able to change them from a python script. e.g. in c: int x = 1; in python: import embedded embedded.x = 2 in c: printf("%d",x); output: 2 Is this possible or do I have to export functions to change anything i...

Python API C++ : "Static variable" for a Type Object

Hello, I have a small question about static variable and TypeObjects. I use the API C to wrap a c++ object (let's call it Acpp) that has a static variable called x. Let's call my TypeObject A_Object : typedef struct { PyObject_HEAD Acpp* a; } A_Object; The TypeObject is attached to my python module "myMod" as "A". I have defined ...

How do i refresh my Twitter API every 15 seconds?

I was successful in installing the TWITTER API jquery script, but I can't figure out how to make the script refresh with the latest tweets without refreshing the entire page IN 15 SECOND INTERVALS. Is it possible to use a .load or refreshID to reload script? Can I also include a fade in and fade out when the function reloads? Anyone d...

add text in google chrome extension icon

i want to add a text showing the minutes spent by the user in the running activity in my google chrome extenstion that called pharaohs Time tracker can see it here https://chrome.google.com/extensions/developer/edit/cegaadncabdacaplfeondbaodibgjfhi?hl=en i can't find anything in there api although alot of people using it like ext called...

Can you change min. API level for your Android app in Eclipse?

Hi there I selected API minimum level 1.5 for my android app and I'm just about to integrate gestures in to it which came in 1.6. Is there a way in Eclipse to change the minimum level from 1.5 to 1.6 halfway through building an app? Many thanks ...

XML Parsing error not well formed. The problem is in the variable content, workaround?

Working on an API but I've run into a problem. This specific part of the response (in XML) returns a URL. Here's the error I'm getting: XML Parsing Error: not well-formed <item_to_page_url>http://cnn.com/.../?hpt=C2&amp;replytocom=11119#respond&lt;/item_to_page_url&gt; First off, I added an ellipses to shorten the length of that for...

Problem in XML content..?

Okay. Here's the code. XML Parsing Error: not well-formed <item_to_page_title><![CDATA[Breaking news, real-time scores and daily analysis from Sports Illustrated SI.com]]></item_to_page_title> The error tracking line thing points to the []-like char as the problem. I've set the page to UTF-8 and still it doesn't work. No, I can't j...

hide header post data

I have never used Api's before. I am trying to sms enable my website. My sms provider provides a HTTP API to send messages from my website. It works well. However, its not secure. The api requires number, message, Username and password. And can be sent using post or get. There is no https support. I am currently passing the number and me...

URL as variable in .htaccess rewrite

I'm writing an API where a URL needs to be passed via $_GET variables. Now that's all cool when I'm just using the raw URL, create_page.php?url=http://example.com, but I've tried to make this look pretty using htdocs like I have the other API calls and it doesn't work. Here's my htaccess code so far. RewriteRule ^create_page/(.*)$ creat...