api

Shutterfly Order API . .

I found this site http://www.shutterfly.com/documentation/api_OrderImage.sfly but there are no examples of actually walking through the whole process. Does anyone have any good documentation on using this API to take a local photo and allow someone to order a print via shutterfly? ...

mysql c api row[0] to string

When using MYSQL C API to query results. The results are returnd as a MYSQL_ROW type, which according to the MYSQL C API documentation, I can easily printf("%s", row[0] ). But what if I want to transfer the contents of row[0] into a string or a char*? ...

Allow only certain websites to access a PHP page

I am trying to make a basic API for my website so certain other websites that I approve of can show content from my site. I have a PHP script on my server that the other websites can access to pull content in XML format. How can I make sure that only certain websites can access this php page on my server? ...

Professional #include contents

I need to create an API that will allow my customer's developers to use a proprietary C module that will be released as a library (think .lib or .so -- not source). I'd like to make the header as developer-friendly as possible (so I won't need to be), following best practices and providing comments with descriptions, examples, caveats, ...

Is there a fingerprint reader api/sdk?

I need to read the user's fingerprint from my application. What I really want is a simple SDK that works with a lot of inexpensive fingerprint readers but I can deal with something that works only with one specific model if that model is cheap and available worldwide. And it has to be royalty-free, I can pay for a development license b...

How to get College football scores?

I'd like to be able to get scores for the top 25 teams in college football in a usable format. I don't need them to be realtime but would like to avoid writing a screen scraper if possible. Does anyone know of a webservice or other API to do this? ...

Is there a common blog API in the works?

I've used the Blogger Data API and I know WordPress has an API of their own, but is there any standard in the works? Hypothetically, if you were starting your own blog-style CMS that you wanted to make available via a web service, what API would you choose? ...

java mp3/audio editing/trimming library

I am looking for a java library that will allow me to "trim" an audio file so that I can pull out and save X amount of seconds of an audio file. Ideally, I am looking for something that would be like a substr for an audio file. If I want from 123 seconds in to 153 seconds in I would be able to do: coollib.load('bigfile.mp3'); coolli...

Java: JavaFX and Java Interoperability

Can I utilise the new functionality provided by the new JavaFX APIs directly from Java to the same extent as I would be able to using JavaFX Script? Are all the underlying JavaFX APIs purely Java or JavaFX Script or a mix? ...

How to add a simple API to my C++ application for access by LabView?

I have a data acquisition program written in C++ (Visual Studio 6.0). Some clients would like to control the software from their own custom software or LabView. I would like to come up with a simple API with a dll I can distribute to them and would like some tips on how to get started. This is going to be VERY basic, maybe 4 or 5 comm...

Code coverage targets for APIs

What number would you give someone who wants a concrete target number for API code coverage? UPDATE: To clarify, statement/line code coverage. I realize concrete numbers don't make much sense, but this is for the situation where you tell people that concrete numbers don't make much sense and they still insist on getting a number from yo...

How can I pass a pointer to an array using p/invoke in C#?

Example C API signature: void Func(unsigned char* bytes); In C, when I want to pass a pointer to an array, I can do: unsigned char* bytes = new unsigned char[1000]; Func(bytes); // call How do I translate the above API to P/Invoke such that I can pass a pointer to C# byte array? ...

How can I pass a reference parameter (&) (not pointer) using p/invoke in C#?

I have a C++ API prototype void Func(int& size); How can I translate it to P/Invoke in C#? From what I know, if I use public static extern Func(ref int size); , the function will receive a pointer to the int instead of the value. ...

what java.lang.reflect.Method.isBridge () used for ?

During navigation of Method class I came across the function isBridge(), javadoc of which says, that its true only if java spec declares the method as true. Please help me understand what this is used for ? Can a custom class declare its method as a bridge if required ? ...

Can someone explain the Flickr API and how security is established? Why not use AES instead of md5?

Hi, Just trying to understand Flickr's API setup, and how secure it really is. Flickr API Why do a MD5 hash and not something like AES? ...

Is there a Restful Blog API

I can't seem to find a true restful Blog API - are there any? I'm writing some blog software and wondered if there was a standard restful API, if not I'll go buy the RESTful Web Services book and design my own. ...

Shared secret with API in an Ajax Adobe AIR app

I'm pretty new to developing AIR apps, so maybe this is a dumb question, but I can't seem to find any answers from google. Any help you can give me is greatly appreciated. I'm building an AIR app with Ajax using an api that is identical to flickr's Api, with a shared secret key. The problem is that the air installation package contains ...

Need a good template recommendation for an API document for C# application

Need a good template recommendation for an API document for C# application. I had used an IEEE template 2 years ago but can't remember the template name and wondering if anyone has good template recommendation for the same. Due to reasons beyond my control I have to do it as a word document ...

Java Floating License Server API?

Short of rolling your own. There has to be something out there. FlexLM/FlexNet is overpriced, and does not work for a company like ours. The same goes for RLM. There was one product I had hope in called LUM, but IBM no longer licenses the API. So what else is available? Or do you have any known way to get LUM? Please help, I have ...

What is the gold standard for website APIs? Twitter, Flickr, Facebook, etc.

Seems like there are two categories of APIs for websites today. APIs which allow the functionality of the site to be extended like Facebook, Myspace, etc. These APIs seem to be very diverse. APIs which allow interaction with the existing site functionality like Twitter, Flickr, etc. These all claim to be REST based, but are in real...