api

how to use nagios or munin to query stats from within external application/server

I have a couple of linux (ubuntu) servers that work together every night to do some heavy processing. Say. I have 2 worker servers and 1 big indexing server. The worker servers feed the indexing server. The indexing server operates under a high load (based on input it's getting from the worker-servers.) I would like to be able to let ...

Alternative AS3 doc gen?

Can anyone recommend an AS3 code documentation generator other than ASDoc? Preferably a lighter, more portable, or standalone app that isn't bolted to such a big framework? ...

.NET implementation of Portable Contacts API

Google just released a java implementation (jpoco). Is there a .NET one? Anyone planning on writing one? ...

file-get-contents() returning "failed to open stream: HTTP request failed!"

Help, I am having problems calling a url from PHP code. I need to call a service using a querystring from my PHP code. If I type the url into a browser, it works ok, but if I use file-get-contents() to make the call, I get: Warning: file-get-contents(http://.... ) failed to open stream: HTTP request failed! HTTP/1.1 202 Accepted in ...

HP Quality Center API + ASP.NET

Has anyone ever used ASP or ASP.NET to connect to HPQC via the API? Where can I find some examples of this interaction? Any direction on the matter would be greatly appreciated. ...

RSS Feeds or API to access REIT information?

I have a Web application that needs to display up to date information on REITs and tickers like AX.UN, BEI.UN, CAR.UN etc.. For example, I need to automate consumption of information on pages such as http://ca.finance.yahoo.com/q?s=AX-UN.TO Are there rss feeds or apis I can use to import this kind of data? I don't want to copy and p...

Amazon Market API for ruby

Has anyone used Amazon AIM or ENS APIs? I'm having trouble finding documentation. I'd like to implement it into my rails application. ...

Lock Unlock events iphone

How can I detect lock/unlock events on the i-phone? Assuming it's only possible for jailbroken devices, can you poin me to the correct api? ...

Eloqua web services API in PHP?

does anyone have any code samples/tutorials for using the Eloqua web services api in php? ...

How have you ever interacted with a Nabaztag?

The Nabaztag I ordered has arrived. I know there is an API to interact with the critter from your own software. Have also seen links to libraries in Perl and .NET among others, and have started work myself on a simple .NET Compact Framework 3.5 library for interacting with the bunny from my mobile phone. I have seen at least one applica...

int issue in g++/mysql/redhat

Hi - I haven't written C in quite some time and am writing an app using the MySQL C API, compiling in g++ on redhat. So i start outputting some fields with printfs... using the oracle api, with PRO*C, which i used to use (on suse, years ago), i could select an int and output it as: int some_int; printf("%i",some_int); I tried to d...

INSERT 6000 Rows - best practice

I have a PHP script that calls an API method that can easily return 6k+ results. I use PEAR DB_DataObject to write each row in a foreach loop to the DB. The above script is batch processing 20 users at a time - and although some will only have a few results from the API others will have more. Worst case is that all have 1000's of resul...

How to display only one country or a specific area in Google maps using the api?

I am using Google Maps in a project and I want to display only a country map in my map window i.e. I want only the US to show on my map not Canda and Mexico and so on, cutting away the superflous information for the app I am building. I found some stuff where you can restrict the area covered with some javascript however this still giv...

Help me find the "ugliest" message queues API

I realize this is a weird question, but I am writing a presentation and I want to discuss the difference between intutivie APIs and unintuitive ones. Intuitiveness has to do with function names, complex signature, etc. I am using JMS as my intuitive example (especially since it's object oriented and the sample code is very obvious). I ...

Advantages of uPNP/IGD over SOCKS?

I'm curious why is it more pervasive. Does it has a better API? I remember long ago when i first learned about NAT (i used it for sharing a dialup 14.4kbps modem), i thought that someday every home would have a router with NAT included, but it would "obviously" need also a SOCKS process to be able to open listening ports. When broadba...

Visual Studio add-in API resources

Where can I find examples and API information, besides the MSDN, on creating add-ins for Visual Studio .net 2008? ...

Question about paypal buyer protection

Hi, I have a basic question about the paypal API. Say I make the connection between a buyer (let's call him Adam) and seller (call him Joe), and send Adam to a paypal purchase page - where he's buying directly from Joe (I just make an the connection, I don't handle the cash).Joe turns out to be a fraud. He never sends the product. Is Ada...

(Windows) Monitoring API calls in C

Is there anyway to monitor API calls on your system in C? ...

What compliance and legal clearances are required to use Google MAP API with Iphone Apps?

We are using 2 following google services, we need to talk to google folks if we need to do some additional stuff to fulfill the conditions: Reverse Geocoding APIs: For getting city and state from the iphone's geocodes (latitudes and longitudes) Doing a Local Business Search: based on city and state Also is it mandatory to embade Goog...

Do I need to use reference parameters for returning values?

If a HANDLE is an output parameter, is it necessary to use a reference to the HANDLE or use HANDLE directly? bool fn(HANDLE h_result); or bool fn(HANDLE& h_result); ...