api

Using Flickr API + CURL to get image URL & Caption

How can I make a simple CURL request to that Flickr API that does the following: Get the X number of most recent photos URLs + captions from collection Y? Where "X" is the number of photo URLs and "Y" is the collection name. This code is part of an existing application and I'm not allowed to use scripts like PHPFlickr for help. ...

Whois API and Whois Parser

I'm looking for a program/service that does Whois lookup and parses the whois data into detailed finer details, eg. registrant-> registrant_name, street address, city, state/province, country, email, etc. I googled around and found WhoisAPI, it is a Whois lookup service and Whois Parser that parses into XML, however it's not free. How ...

Capture and send keyboard / mouse input in C#

I am looking for a way to send and receive keyboard information regardless of what app has focus. I remember back in College seeing a presentation about an old Windows API that let you change the cursor position and send right clicks and such. Besides User32.dll is there a way to do this with the .net framework? ...

Include Google Maps API Key in open source project?

Is it okay to put your Google Maps API Key into your source code and publish it? Others could take it and misuse it, but I don't want every developer / user to get their own API key and type it in somewhere. If the owner of the key is responsible, should I create a new google account for the project? (The project is a desktop applicatio...

Programmatic map area/location finding / restriction

(Sorry, I couldn't come up with a better title - please feel free to suggest a better one in the comments.) I'm looking for a way to provide a set of rules, and have specific areas/locations included/excluded based on these rules. The ideal end result of the rules being a map showing excluded areas, and perhaps a way to extract to text...

Dealing with multiple input parameters using wrapper class

As a sort of continuation of this, I have the following newbie question: What difference is there in building a wrapper class that expects lots of inputs parameters and inputting those parameters directly into the final constructor? Don't get me wrong, I think the multiple input parameter thing is pretty ugly, and I'm trying to get aro...

Does an API Rate Limit see javascript requests as coming from the domain's IP, or the user's IP?

An API has a rate limit based upon the number of hits from a certain IP address. My requests are AJAX - so they're performed by a javascript living somewhere on a page. Does the IP being rate limited appear as the client's or the site's? ...

How to get OSM xml or json data from an url?

I have been working on twitter api and found it easy to get json/xml feed from an url like http://twitter.com/friends/ids.json?screen_name=Planemad&jsoncallback=? similarly i wanted to know if there is a way to get OSM json/xml data from an url and use that and use it on an OSM map.... ...

Choosing between performance and ease of use in WS API

We're in the process of creating a new API for our product, which will be exposed via web services. We have an internal debate whether the API should be as easy as possible to use (in the price of making more calls) or make it as efficient as possible (rendering it harder to use). For example, here are two issues that came up: Should w...

LingPipe Text Processing API

Hello to everyone. This is a question only to those who already used the LingPipe. My question is how to load up the GENIA corpus for Part of Speech tagging. When I start parsing it I get an error saying that I got out of memory heap. Thnx. ...

Where to find API documentation for NVIDIA 3D Vision?

I'd like to start coding for NVIDIA 3D Vision and wonder where can I find the documentation for it? ...

can the callback from GetLocations() (from the Google Maps API) call anything other than API functions?

I'm working in Javascript on a Maps API project for work. I'm having trouble with the callback function which I pass to GetLocations in which it has to call another chunk of code (all the callback does is store the lat and lng into an object). But after the function does its work, the next function doesn't get called. How does this call...

Looking For A Step By Step Guide To Building A Facebook App? (ASP.NET C#)

I'm going to start trying to build a facebook app soon for one of my sites, and have no clue where to start. Was wondering if anyone had any links to a step by step guide? ...

Can a sequence of json objects be unequivocally parsed without further delimiters or knowing their length?

I am planning a protocol where two applications open a socket between them and send and receive legal json objects. Can a sequence of json objects be unequivocally parsed, or will I need delimiters, or prefixing each object with its lengths or something like that? ...

how to rotate text in HSSFCell in apache POI?

How to rotate text which is there in HSSFCell class of Apache POI API? Can you please provide some example code for the same? ...

Best tools / formats for documenting XML API?

We are developing XML over HTTP service and we need a way to document the XML interface. Our supported XMLs generally are subsets of some industry standard XML API, which unfortunately lacks any good documentation. It has XSDs though with some annotations, so we use this go generate the initial documentation and then remove the unsuppo...

Telefone Conferencing API

I am looking for an API to call phones (from server) and connect them to a telephone-coference. Could you please recommend smth.? Thank you! ...

Recusive transformations using xslt, xpath:document() and mediawiki

I want to use the wikipedia API to find the French pages including the ''Template:Infobox Scientifique'' missing in the english version. So, my idea was to process the following document with xproc: http://fr.wikipedia.org/w/api.php?action=query&format=xml&list=embeddedin&eititle=Template:Infobox%20Scientifique&eilimit=...

How to get network adapter stats in linux/Mac OSX?

I'm looking for a way to get hold of network stats in C on Linux and MacOSX. Specifically, I need to monitor the number of bytes uploaded and downloaded from each network adapter on the system - I don't need to do packet inspection, or differentiate between protocols, just a 'total bytes' counter which I can poll at intervals would be fi...

To build an App for an Internet site without its API and Schema

I was asked to build a control-system for a Ebay-like Finnish auction-site huuto.net. The system would reopen closed auctions by a specific rules. It would be completely external from the main site, running at an external website. The site is however unwilling to release its API and Schema. I know no way to build such a system without k...