api

How do I find number of submissions of a url in digg??

API documentation in Digg is totally confusing...does any one know how to count submissions for a particular URL in PHP?? some API paths that will return in XML or Json will do... ...

Lua C api : Too many lua_states lead to errors ?

Hi. We're working on multiple computers, executing a program coded in c/c++ and using lua api, and each one of them get crashed with different errors. It's usually either a segmentation fault, whose backtrace leads us to a call made bu liblua, or one that is usually given when trying to call a nil value as if it was a function. The wei...

jQuery + Google API + IE8 error

The following function works perfectly on our production site function flickrGetPhotos(){ $.getJSON("http://api.flickr.com/services/rest/?method=flickr.photosets.getList&api_key=" + flickrApiKey + "&user_id=" + flickrUserId + "&format=json" + "&per_page=" + galeriaSetsPerPage + "&jsoncallback=?", function(data){ flickrBuild...

Google Maps API v3 For loop Trouble

Maybe I'm going completely off track with what I'm trying to do, but I'm tempted just to go back to version 2 because I got that working easily (but I would like to be mobile-friendly). I'm trying to generate a few markers, and to save code, I've put the marker generation into a for loop, which loops through an array of markers (there a...

Google/Yahoo alternatives to geocoding?

Does anyone know of a good and accurate alternative web API for geocoding an address that is not Google or Yahoo? I want to input an address/city/state/zip and have it return to me the latitude and longitude. Ideally, I would involve it via a simple HTTP GET, e.g. http://example.com/?location=123 Main St, New York, NY and it would r...

How can I pass map<string,string> into py with API?

C/C++ can use python API to load py. But, only simple type is supported. How can I pass map into py to be a dict with API? Or, which methods are better? ...

PHP - Upload a web hosted photo to facebook album via Graph API

Hi I'm trying to upload www hosted (e.g. http://www.google.se/intl/en_com/images/srpr/logo1w.png) files to a facebook album. Creating an album works just fine, but I don't seem to uploading any photos. I'm using the facebook php-sdk ( http://github.com/facebook/php-sdk/ ) and the examples I already tried are: http://stackoverflow.com/...

Create AdSense ad units programmatically

We're running a creative network that's providing free hosting to various projects. In exchange for that we ask those projects to show our Google AdSense ads on their site. To not make it too bad, we'd want the users to be able to choose colours and size for the ads to fit their site. We've been using the old AdSense embedding code whic...

Word API: Prevent Conversion of File

I'm opening word documents with the Documents.Open method in the Microsoft.Office.Interop.Word Namespace. This works fine, except that when I open a file that isn't a word document, it's automatically converted to be a word document. I'd like to find a way to either raise an exception of the document isn't a word document, detect if th...

Free to use api to access an sms gateway.

Hello, Im a php developer in need of a free service that offers an api that enables me to send one of my users a simple text message. I have a web app that allows you to receive updates (through sms), much like facebook or twitter when something new happens you get a text message updating you. I dont want to pay to use a service like t...

Limit the rate of requests to an API in a CGI script

The script that I'm writing sometimes makes requests to an API and the API requires that requests are limited to a maximum of 1 per second. What is the most straight forward way of limiting my requests to the API to 1 every second? Would it involve storing the current time in a file each time a request is made? ...

Lua error did not pass boolean

This works... if ( tileType == "water" or ( otherObj and otherObj:GetType() == "IceBlock" )) then self:SetNoClip( true ) else self:SetNoClip( false ) end - These don't... self:SetNoClip( tileType == "water" or ( otherObj and otherObj:GetType() == "IceBlock" )) //---------------------------------------------------------- l...

Looking For An API That Will Feed Me Soccer Stats

Hello, I am looking for an API that will feed me soccer stats from leagues like the EPL, Bundesliga, Serie A, and La Liga such as personal player information (name, height, weight, dob, etc.), player statistics (goals, assists, minutes played), as well as results from games. If anyone knows of a service (maybe even sites like premierlea...

Reverse IP Logfile Analysis API

I have a list of IP addresses, about 1300, that I need to look up to find out company information or whatever is available from an online tool. I don't mind if I have to pay for it. but I don't want to have to put each one in manually. Is there something that I can use that would give me this detail that I could either copy or paste or ...

Flickr Geo queries not returning any data

I cannot get the Flickr API to return any data for lat/lon queries. view-source:http://api.flickr.com/services/rest/?method=flickr.photos.search&amp;media=photo&amp;api_key=KEY_HERE&amp;has_geo=1&amp;extras=geo&amp;bbox=0,0,180,90 This should return something, anything. Doesn't work if I use lat/lng either. I can get some photos return...

DailyMotion API

Hi, Is there any API support or objective-C framework for Dailymotion to handle: 1. Authenticate an user 2. Retrieve logged-in user's videos etc Thanks in advance. Regards, Deepa ...

How to validate PayPal account?

I want to integrate paypal to my website and ask users to enter paypal account for commission pay out. How can I check if their account exists on paypal? I prefer NOT to send them $0.01 or it's the only way to check account? It should validate it automatically while user sign ups to the website. ...

Facebook connect extended permission seems to have issues

Simply, I've been struggling for 5 days now with facebook api trying to get the user email, bday, about me, etc.. data. I searched online dozen of times, and went through several facebook developer wiki pages but with no hope of finding a solution. The problem is that I've added the below connect button script, and after a successful lo...

Language Translater Java API

Hi Everyone I was just wondering if any of you knew of a free to use api which can translate strings from english to different languages. My program outputs certain text to users from different demographics. I was hoping there would be a translater API. This is not a webapplication ,it is an application that runs via the console. Thank...

what is the best api/library for java to use cassandra?

I'm looking for an api with the following requirements 1) It's simple to use and is concise. It is not bloated. 2) Works with Spring way of doing things, or is at least easy to make it work with Spring 3) Has a maven repository, preferably it's already in the main repositories 4) Is production-tested, meaning a fair number of people ...