api

Naming functions for the past, present, and future tense?

I'm trying to come up with some clear and concise names for a Permission class that lets you check if a permission is, was, or will be, allowed/denied. I'm at a loss for what to call the future tense. class Permission: def can_read() def could_read() def will_read()? def will_be_readable()? I'm most partial to will_read(), bu...

Does anyone know of any APIs for reading or writing Flash source files (*.fla)?

I would like programmatic access to the ActionScript I have on frames within Flash source files. We have hundreds of flash files, each representing "lessons", and each frame within each lesson represents a "page" in an instructional book. So there are thousands of pages, each of which have scripts that play animations and other things....

How to connect to PowerOlap using .Net?

Hi there, I am playing with the API from PowerOlap, but I can't get any documents on that API, is there anyone out there that can introduce me some books or sites so then I can get some idea how to use the API? But for now, is there anyone here that used PowerOlap API before? Can you show me some sample code? Regards ...

iPhone Temperature Sensor

My question is very similar to this one: iPhone Proximity Sensor. There's clearly some manner of thermometer within the iPhone that's readable by the OS. Has anyone uncovered the super-secret undocumented APIs to read this sensor? ...

OpenSource Instant Messaging APIs

Hi, I want to create my own IM and I'm searching an open-source IM APIs. What do you think is the best open-source IM APIs. And what good front end to use? Thanks. ...

How can i call the Acrobat feature OCR in c# ?

Hello, ich want to write a little application. In this applcation i want to call the OCR function in Adobe Acrobat. How can i call this? Is there an API function ? Thanks for answers! ...

How can I report the API of a class programmatically?

Dear stackoverflow- My goal is to parse a class and return a data-structure (object, dictionary, etc) that is descriptive of the methods and the related parameters contained within the class. Bonus points for types and returns... Requirements: Must be Python For example, the below class: class Foo: def bar(hello=None): ...

Website data retrieval

Hi, An recent article has prompted me to pick up a project I have been working on for a while. I want to create a web service front end for a number of sites to allow automated completion of forms and data retrieval from the results, and other areas of the site. I have acheived a degree of success using Selenium and custom code howeve...

Calling Twitter API in X-Code Iphone Application

Hi , Is there any wrapper available for Twitter in X-Code? if not then do I have to call original Twitter API in my Iphone's application ? ...

Agile practices to avoid deprecated code?

I am converting an open source Java library to C#, which has a number of methods and classes tagged as deprecated. This project is an opportunity to start with a clean slate, so I plan to remove them entirely. However, being new to working on larger projects, I am nervous that the situation will arise again. Since much of agile developme...

How can we provide external authentication like twitter API?

I always wonder how can the Twitter and many social network application provides the API for developer via registered app key. How can it granted and track the using of those external application? Can you answer me this question? because I alway wondering about this. ...

What is the recommended way to hook Win32 APIs for a commmercial application?

What is your recommendation for an API hooking library or code to be used in a commercial application? I have looked at Microsoft Detours which seems to be very good, but definitely is out of budget for the profit I am expecting out of my application. Is there any library that offers compatibility across WinXP and Vista (and Windows 7...

Implementation Advice: How to upload to different server without reloading page

Hello all, I really need advice on how to do the following. I have tried several things and they have not worked. I would like to upload a video to viddler using their REST API. I wish to upload a video directly to them. However, I want to upload to them without reloading the page? How can I do this? I have tried AJAX with an iFram...

How to send data to an API call and get it back, using zillow.com API

I am trying to get the API from a website called zillow working for me, but I am way new to web stuff. They try and explain here how to use it, but it had me lost so I looked in their forums. Someone posted an "example" there, but I can not see where their code even calls the API. Basically I need to take a form field that will be an a...

Yahoo address book reterival

I am trying to retrieve address book contacts through yahoo. After googling a bit, i came up to number of yahoo developer pages and the api i was looking for. However, at the moment I am not in position to give detail about my Web Application URL and BBAuth Success URL while registering for yahoo app-id in order to yahoo app working. Sin...

Creating an web API in ASP.Net

Hi, I'm looking to create an API for a website I have built. The API will be built in ASP.Net - probably using VB and will need to be consumed by multiple platforms including PHP. I've read a bit about REST vs. SOAP APIs and am confused about which route I should go. I also need some examples and frameworks I can use to get started. T...

Mail List Management API?

I'm building a website that needs to provide users with the ability to subscribe to new items in each category. So, potentially I'll have dozens of different mail lists, each with hundreds of subscribers. On a previous site, I built the mechanism myself and it worked well enough. I did fall foul of various spam filters and blacklists th...

imageshack api problems. Will not upload my image

Hi all, I was just wondering if anyone has used the imageshack api as i am trying to use it and i am having some issues as it just fails and will no upload my image. the php library for image shack can be found here http://elliottback.com/wp/using-the-imageshack-xml-api/ i pass the for file element to the upload function but it just d...

JIRA SOAP API : get the list of users

Hi all, I'm working on a tool in C# that interfaces the JIRA SOAP API. I have read the doc one can find here: http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/index.html Does anyone know how I could get the list of all the assignable users for a specific project? I haven't been able to find how to do that yet... ...

Is copying an API a breach of copyright?

Is copying an API a breach of copyright? Say for example that a proprietary spreadsheet software exposes a programmatic interface with a nice, easy to use and learn, flexible yet deep API. Can I implement the same API to another spreadsheet program? Or to csv files or database tables, or whatever? Or would the API (with a completely d...