api

PHP + Quickbook Online Edition (API Integration)?

Is it possible to integrate my PHP web-based ecommerce application with Quickbook Online Edition? When I make a sale on my web site, I would like to be able to make the corresponding journal entry in my accounting books. Note, I'm referring to Quickbook Online Edition, not the desktop software. ...

Is there anything like C# (.NET) Library that works as API for Google?

I'd like to write a script to search and analyze results at google.com. Recently, I've been ng looking for Google API but it seems they do not issue it to developers anymore. Is there any (likely free) library for C#(.NET) development that would allow me to search over Google with parameters? Thanks for your response. ...

How can you use optional parameters in C#?

We're building a web API that's programmatically generated from a C# class (the class has method "GetFooBar(int a, int b)" and the API has a method GetFooBar taking query params like &a=foo&b=bar. The classes needs to support optional parameters, which isn't supported in C# the language. What's the best approach? ...

Video Conversion API

Can someone recommend a good API for converting video types to FLV format? Something that is in .NET would be best, but anything will work. ...

What's a good Java API for creating Word documents?

I have a new app I'll be working on where I have to generate a Word document that contains tables, graphs, a table of contents and text. What's a good API to use for this? How sure are you that it supports graphs, ToCs, and tables? What are some hidden gotcha's in using them? Some clarifications: I can't output a PDF, they want a W...

Does LISTSERV have an API?

I have a custom application that was built to send opt-in newsletters and marketing emails. It does a pretty good job sending mail, but it doesn't respond at all to bounces or unsubscribe requests. It seems to me that rather than building that functionality myself I should use a mailing list manager such as LISTSERV. However, I'm not su...

Directory of APIs/WebServices - where do I find one?

Where do I find a directory where a lot of APIs or Webservices are collected? I'd like to generate a Web Site getting its content from different services, but I assume that spidering together the content is not legal (e.g. getting the latest financial data from finance.yahoo.com). So I would like to have a list of APIs and WebServices (...

How can I use the Twitter Search API to return all tweets that match my search query, posted only within the last five seconds?

I would like to use the API to return all tweets that match my search query, but only tweets posted within the last five seconds. With Twitter's Search API, I can use the since_id to grab all tweets from a specific ID. However, I can't really see a good way to find the tweet ID to begin from. I'm also aware that you can use "since:" in...

How to embed IronPython in a .NET application

Is it possible to expose an API in a .NET application by embedding a scripting language like IronPython? How is it done? ...

Do you use Javadoc for every method you write?

Should I be writing Doc Comments for all of my java methods? ...

How to deal with an Undocumented API/Framework under .NET?

For work I have to code with an external company's API to deal with their proprietary database solution. Unfortunately the documentation they provide is more of an example guide then proper API docs, so it is very light on nitty gritty details like error codes, method returns, and exceptions. So for instance, a class will have a .GetEr...

Why doesn't Google index some words on page?

I've created a program in Delphi that uses Google's AJAX Search API to evaluate search phrase occurrences on specific sites, mine included. What surprised me was it doesn't appear Google is indexing some words on my pages, or I am forming my search queries via the API incorrectly. For example the search site:www.delphi.org -"delphi p...

What's the difference between a parent and a reference property in Google App Engine?

From what I understand, the parent attribute of a db.Model (typically defined/passed in the constructor call) allows you to define hierarchies in your data models. As a result, this increases the size of the entity group. However, it's not very clear to me why we would want to do that. Is this strictly for ACID compliance? I would like t...

Dictionary API or Library

Does anyone know of a good dictionary API or ruby library to lookup the definitions of words? I'm thinking it should work something like: I call get_definition(word) It returns the definition for that word (ideally in some way to easily format the definition for display. Thanks ...

get command output in pipe, C for Linux

I need to run a Linux CLI command and get its stdout output from C. I can use pipe() to create a pipe, then fork/exec, redirecting child's stdout descriptor into the pipe before calling exec(), and reading from the pipe in parent. Plus I'll need to wait on the child. Is there a simple call to do fork + redirect + exec + wait, like syst...

New Facebook app - FBML or iFrame?

We're starting a new facebook app (incidentally in Rails), and are faced with the decision to use FBML or to use IFrames. It seems like in the past the consensus generally was that FBML was the better way to go, as it made things more inherently Facebook looking, however it seems now like things on the iFrame side are starting to improve...

How does Google Reader get every item in an RSS feed?

Slashdot's RSS feed is http://rss.slashdot.org/Slashdot/slashdot. If I download the XML file directly, I only get a few of the posts from today. However, if I subscribe to the feed in Google Reader, and keep scrolling down in their "infinite scroll" interface, it seems like I can get an arbitrary number of Slashdot posts from the past --...

API java 5 and more: should I return an array or a Collection ?

In the spirit of Best Practices: Always return a ____, never a ____, I face a similar question in my upcoming migration from JDK1.4.2 to JDK5 and more. (Yes, I know, JDK1.4.2 is EOL! ;-) ). For functions returning a collection (which are not simple property collections), I always prefer (in JDK1.4.2) returning an Array instead of a gene...

Catching window.print() from SWT Browser

Hi, I 'm exploring for a browser solution / API that has the following features: Must support the nowadays default web technologies Must support client side XSLT Must support executing arbitrary Javascript on the pages it loads Must be able to catch events from the web page targeted to the browser or OS (I am specifically interested in...

Netsuite woes: Is there decent reference anywhere?

I'm hoping this question isn't too obscure cross fingers I'm looking for a decent reference for netsuite scripting and api (both of which are based on ASP) does anybody know where too find this stuff? The netsuite help pages are mediocre at best, and the forums aren't very active. (I suppose these two things are already bad signs, but ...