api

Ghostscript fonts using the api

I've got a bit of an issue with Ghostscript. I'm writing an application in .NET that uses the Ghostscript API, gs32dll.dll. It works just fine for a number of pdfs, but there a couple that have this little movie can dingbat, and ghostscript throws an error about not having that font. I know I have to make a listing for that font in th...

Security and API implementation - REST

Hi folks, I'm implementing an API using Django. One 1 service should be able to access 1 API url. I am wondering if there are any popular security practices that go beyond using username/password and SSL? Is using sequential signature generation a popular practice? ...

cannot confirm after passing the LinkedIn API authorisation on iPhone App

I have done the authorisation step of LinkedIn-iphone API, and the app comes to the screenshot: But the 'close' button does not respond, and no where to use the authorised PIN. Because it is not finally authorised, the methods like - (void)linkedInEngine:(RDLinkedInEngine *)engine requestSucceeded:(RDLinkedInConnectionID *)ident...

Passing fullstops (periods) and forward slashes in a GET request?

I have built a form that submits values to Wufoo as a GET request in the URL. I cannot get it to work if any of the values (in a textarea) contain a line-break or a forward slash. Is there a way to encode these in a URL?? This is being done in Rails. Many thanks in advance, Galen ...

Why are some geo tagged tweets null? (Twitter Streaming API)

Hi, I'm using the twitter streaming api to gather tweet locations from around the world. I'm receiving plenty of live tweets but some of the geo tags are null. I'm using the statuses/filter api with the following url: http://stream.twitter.com:80/1/statuses/filter.json?locations=-180,-90,180,90 This url returns tweets, some of the ge...

Finding IP address of development machine for Web API + iPhone setup

I'm working on some iPhone apps that communicate with an HTTP-based API server (which happens to be Rails, but that's irrelevant here), and oftentimes I've been bitten by the IP (un)reachability from the iPhone device to my MacBook Pro - the iPhone device must hit the URLs on the MBP. Right now, I have something like this in Config.h: ...

BlackBerry API Required

where can i find BlackBerry API which will help me to develop blackberry application?please help ...

Google maps like auto-complete or auto-suggest API for postal addresses

Hi, I'm part of a project that requires auto-complete or auto-suggest feature for postal addresses (something similar to what google maps has). As the user starts to type in the number and then the street google starts to suggest valid options. I would like to know if there is an api (even commercial) available in the market. Note: I'm...

Publishing to facebook from different websites using one APP ID

Hi, I'm building a custom CMS for my clients and i've implemented the Facebook API for posting on Page Walls as admin. All works well but I do have one question. Let's say the FB app name is 'CMS FB APP'. The CMS will reside on my clients' servers, is it possible to use 'CMS FB APP' for all of my clients? Or do I have to create an appl...

Tracking user clicks back to Google Adwords API

Hi guys, I am going around in circles a bit with this one trying to find a solution online and I cant find one so I thought I would ask then it may be useful to others as well. The scenario. With PHP I am looking to talk back to the Google Adwords API. OK not a biggy. However I want to tie it in with our own back office system to marr...

convert HQL query to criteria api

I'm wondering if is possible to convert this HQL query into a criteria api query. select s1 from Student where ( select max(s2.Score) from Student where s1.Id = s2.Id ) = 10 (selects the students that have their max score value equal to 10) I don't know if I could use a detached criteria beca...

google maps api v3: where is the load event

Which event will to the same that the load event did on the api v2 spec? Right after the map is initialized, calling to getBounds().getSouthWest() will return null. Thanks ...

Best way to generate xml in python?

I'm creating an web api and need a good way to very quickly generate some well formatted xml. I cannot find any good way of doing this in python. Note: Some libraries look promising but either lack documentation or only output to files. ...

Using the tumblr api how do I return a permalink?

If I used the api to post, I would like to return back the Tumblr permalink for that site I sent it to. ...

How can I use google maps API to return a journey time with AND without traffic?

I'd like a way of being able to calculate journey time WITH and without traffic, so I can work out the difference so I know how much the traffic is delaying you by. Also, is there a way of doing it based on a selected date and time? As I know google has this feature, just not sure if their API has made it available. Is it possible witho...

Android contacts api

I want to query commondatakinds.photo.photo for a specific contact id .. how should I put this? ...

Need example code for PayPal NVP api request code for parallel payment.

I can use successfully the PayPal NVP api for SetExpressCheckout. But the problem with this is, I can't pay two merchant on a single payment. So, going through PayPal, I found that I can use the parallel payment. I need to know how can I use the parallel payment. I have request code for the SetExpressCheckout like following, <form meth...

Firing Keypress for a command prompt window from .net app

I have a .net console application that runs a method called RunBatch() on 10 threads. The method creates a process object and calls a .bat file. The .bat file runs an instance of a tool called Lualatex - which is an exe that converts .tex files to .pdf files- and passes it the path of the .tex file to be converted. (e.g, Lualatex.exe "F...

Dropbox API - Dropbox ruby gem (Tim Morgan): How to authorize

I want to write a ruby app for personal use that access my personal dropbox through their API. I'm using Tim Morgan gem 'dropbox' version 1.1.1 What I don't understand is the difference between a developer_key and a consumer_key. The gem docs say that I have to use the consumer_key, but when I registered my app on dropbox.com I received ...

Library for Graphing Binary Heaps?

I am doing research with the graphs of binary heaps, and could really use an effective library that can graph binary heaps. I have found a couple different pieces of software (not libraries) that can do this, but some had display problems with large numbers of elements and others could not handle large numbers of elements at all. I wou...