api

How to properly use ActiveResource::CustomMethods when constructing URL?

Currently I am using Active Resource to consume a REST API. It works fine for simple things but for some reason will not respect custom methods. E.G. API::Model.find(m.id) #This works as expected API::Model.find(m.id).put(:foo) #This is equivalent to doing the above The Rails API http://api.rubyonrails.org/classes/ActiveResource/Cu...

steps / idea for a Iphone passcode like custom interface for Application

Can someone shed some light on creating a iphone passcode like interface? Is there any API to reuse the Iphone passcode for application? ...

I dont understand how Westpac Payway API and NET works

Been googling all day, reading numerous pdf's and still getting confused with the concepts of sending data to Payway system from Westpac (bank in Australia, link text). They offer access via API but also give access via what they call NET. The way I understand is that when client want to pay on my website, in case of NET, client gets t...

Can I use an ORM (as Subsonic) to work with an API?

Hello ... I´m new to ORMs and I have a new project I´ll do in .Net MVC. In the Model Layer I´ll create my classes: Videos and I´ll work with APIs as a DataLayer (BrightCove & YouTube APIs). So, I dont have a Relational Database as a Data Layer. Is it possible to work with an ORM (as Subsonic)? Thanks! ...

A Python Wrapper for Shutterfly. Uploading an Image

I'm working on a Django app in which I want to order prints through Shutterfly's Open API: http://www.shutterfly.com/documentation/start.sfly So far I've been able to build the appropriate POSTs and GETs using the modules and suggested code snippets including httplib, httplib2, urllib, urllib2, mimetype, etc. But I'm stuck on the im...

iPhone OS: Posting an image + text "story" to a user's news feed through the facebook api

So what I am trying to do is post an image that has been created by a user on an iphone into that users newsfeed. The functionality I am having a hard time understanding if it is possible: Can I pass a local NSURL (or URL?)(to a png file that lives in the documents folder) through a JSON string and onto Facebook? i want to mimic the...

AddVectoredExceptionHandler in C#

Can anyone give an example on how to use this AddVectoredExceptionHandler reference in c#? from here: http://stackoverflow.com/questions/2780324/catch-all-handled-or-unhandled-exceptions/2780454#2780454 ...

Why do API's (like Facebook, last.fm etc) generate session keys for logged in users?

Hi All, I am building an RESTful API for an application I am working on and client coders need to be able to submit data to the API on behalf of a user. All the popular API's I've used require me to send the generated session token (created when a user is logged in) for the user with a request to post information on the users behalf. M...

Is there any online free movie information api's?

For music there is the Gracenote CDDB SDK, etc. but does an online service exist for getting information about movies? The only solution i can see at the minute is querying IMDB and scraping the page. The problem i have is that i have a list of film titles and i want to retrieve stuff like the plot, director, cast, when released, get d...

Error while dynamically loading mapi32.dll

Our application uses Simple MAPI to send e-mails. One of our clients has problems sending e-mail from a session on his terminal server. The mapi32.dll is loaded with a call to LoadLibrary which succeeds, but then our application tries to get the addresses of the functions MAPILogon, MAPILogOff, MAPISendMail, MAPIFreeBuffer and MAPIResol...

New Facebook FQL table vs. Grap API

Hello everyone I just read the new User fql table fields at http://developers.facebook.com/docs/reference/fql/user As I can see a lot of the fields have been deprecated such as work_history or books and movies. It is quite essential for my app to get all those fields for my user's friends in a single fql query. If i am not wrong the o...

GoogleMaps API MarkerManager and SideBar

I just recently started dabbing into GoogleMaps this week. Anyway, I just recently was able to add MarkerManager to my code and I have it up and running. Now my question comes as this. Is it possible to use the SideBar to do the following? Or any other method of doing the following would help as well. Here is what I need to accompli...

How to restrict visibility of domain properties in grails?

Is there any recommended way to restrict the visibility of a domain in grails? Normally you you do something like to get some interface for external use: def productList = Product.list() withFormat { html {[productList:productList]} json { render productList as JSON } xml { render productList as XML } rss { render(feedType:"rss...

Sending messages to users

I need to be able to send users of a Facebook application a message, even if they are not logged in. Is this possible? If sending a message is not possible, could i post to their wall or news stream? ...

function/method in googlemaps api that returns if googlemaps has a digitized city map?

I'm in need of a google maps api function/method that answer if google maps database has a certain city map digitized. Anyone knows if there is any function like that? ...

Question on programming YouTube video player controls

Is there any way I can create a slider on my desktop to access some of the controls of the YouTube Video player like volume, pause, play, playback speed? I know it is a flash player, but would this involve accessing the YouTube API or something else? For example, I'd like to program something similar to what's ...

twitter api post rate limit

Does anyone know Twitter's rate limit on posting? Looking at their web page they claimed to not have one but I get an exception thrown if my program posts too fast... Any help is appreciated. ...

Creating an API for a View Component in PureMVC?

In the context of AS3 and specifically a framework such as PureMVC, I was wondering if someone could point me in the right direction for understanding what an API for a View Component means. Thanks in advance. ...

How can i solve "Captcha required" error in Google Apps API Ver 2 for .NET ?

Hi, I am migrating Contacts to Google Apps. But after migrating around 300 contacts I am getting "Captcha Required" Exception at line : Uri feedUri = new Uri(ContactsQuery.CreateContactsUri(UserName)); ContactEntry createdEntry = (ContactEntry)service.Insert(feedUri, ContactEntry[0]); I am using Ver2 of Google API. How can i solve th...

google mobile tracking api

Hi , We are doing call taxi business , I have around 100 drivers , I want to track these 100 drivers , am not ready to go for GPRS and any other costly works , So i want to track these guys using His mobile, That is, I have all these drivers mobile number, is there a way to find his/her present location using any google API , Ple...