api

OAuth design for API without users permission

I am developing an API that will be used by users of my customers. Here is what the flow will look like: User of my cloud based service creates an API key. User embeds the API key into their own custom applications. User deploys the application to their own end users. The application talks to our API. I am looking for advice on how ...

Open source APIs to determine websites status and different information

hi, are there any Open source API to help building a tool that can detect websites status. something like this service watchmouse watchmouse 2 thanks ...

Android: How to use the Google Base Data API within an Android Application

I want to use the Google Base Data Api to search for snippets and download these informationen to show them in my activity. I know that the project is still in Google Code Labs, meaning it is in a formative state. But I wonder if there is already a version that i can implement in my Android Application. I know that I can try to do queri...

API services with PHP learning resources

Hello I want to learn API access systemically and I would like some recommendations for books/sites that cover the subject. I have limited experience with the Google Checkout HTML system, so I'd like to understand the xml system for that. I'll need examples to be written in php/xml. Basically, I need to get to know the nuts and bolts ...

Any way to get Twitter user email?

Is there any way to get Twitter user email from Twitter API? Facebook (FBQL) provides this data in the hashed form so that you can encrypt email and then compare to hashed one. ...

How can I use NYTProf in a library

I'm wondering if Devel::NYTProf can be used as a library in another library. I'd like to do something like the following around 'somesub' => sub { my $orig = shift; my $self = shift; start-timing; $self->$orig(@_); end-timing; print '$time'; } but from it's documentation I'm unable to determine if it can be use...

C++ Winsock 2 questions

I have read through the documentation for Winsock2 on MSDN, but I still need clarification on a few things, if anyone can help. I planned to make something like the the setup you get when you use WSAAsyncSelect(), but using a separate thread. Can I use WSAEventSelect() to link more than one socket to a single event object? If I used a ...

handling map tiles

hi, I want to build a C# app using map. I want it to contain the map. where to find a world map that can be saved on my computer. How to handle the map zoom level and center point? maybe there is a good api for accessing the map object? thanks ...

Using cURL/OAuth to access del.icio.us api

I'm following this tutorial to access the del.icio.us api, but this is my first time using cURL or OAuth so hitting a few snags. I'm using the following code $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://api.login.yahoo.com/oauth/v2/get_request_token?oauth_nonce=123456789&oauth_timestamp="+$timestamp+"&oauth_co...

Captcha solution which can be used with App Engine?

Is there a simple captcha solution which can be easily integrated with a form deployed using Google App Engine? I am using Python. ...

Python and GnuCash: Extract data from GnuCash files

I'm looking for information on how to read GnuCash files using python. I have read about this python-gnucash which provides Python bindings to the GnuCash library, but it takes a lot of work at the moment (e.g. dependencies, headers, etc.). The instructions are tailored for the Linux environment, and a rather old GnuCash version (2.0.x)....

Build valid REST API authentication

Hi to all, I've created a web application, and now i want to build some REST APIs to make it programmable by third party developers. Then, i want to build some client libraries in some popular languages (JavaScript, PHP, Ruby, etc) to make devs confortable using my service by avoiding them to parse by hand the JSON response of each requ...

How to get currently authenticated user email id after successful authsub athentication from google service when using google docs or spreadsheet API?

Please Reply with code example. Thanksss ...

Java developer learning enterprise c++. Equivalent of JDBC abstraction?

I really enjoy the JDBC abstraction in Java. I don't care what database type I am connecting to, or what driver is being used. That's all set up in the DataSource object, and once it's done, we just use connections. It's such a consistent API in order to commit/rollback, perform transactions, and you only need to learn it once, and move ...

Java equivalent to .NET System.InvalidOperationException

I am not as familiar with Java's exception packages as with those of .NET. I'm in a situation where, if programming in C#, I would throw a System.InvalidOperationException. Before creating my own java.lang.RuntimeException subclass, I need to know if there is a similar exception type I should throw in Java. The exact scenario is: My ...

Looking for an open source JS mapping API

Here are the requirements: must not rely on any type of known server, i.e. server code (that produces the map images) is not of a known variety supports panning and zooming (image is zoomed on the client) preferably with support for tiling (i.e. pre-fetching image tiles with some simple heuristics) JQuery friendly The API doesn't hav...

HTML5 Drag and Drop API on Touch Screen Devices

I was just wondering if the HTML5 API for Drag and Drop included support for touch screen displays. I was thinking of iPhone, but I know this isn't supported yet. I was wondering if that is just catching up on the part of Apple, to support HTML5 drag and drop on Safari mobile, but I also was thinking maybe the HTML5 API wasn't powerful...

Youtube AS3 API simple question...

Hi guys... I am trying to add youtube player in my flash site. I downloaded the AS3Player class file from youtube api website and link it in my flash file. When I ran it, I got compiler error that said C:/project/flash/youtube/player/AS3Player.as : The definition of the base class Canvas was not found and C:/project/flash/youtube/...

Flash search function...

hi guys.. I am trying to add search function on my swf file so when users enter the keyword, it will return list of videos from youtube. I also create the youtube player so the user can click the video and watch it. I tried to look at the internet, but not too much resource. Can anyone give me some general direction of this task? Yout...

I need document collaboration tool that provides an API to allow me to embed document collaboration onto my site

I need to enable my users to collaborate on document creation. I initially thought of using a wiki system where users can come in and start a document and other users can pitch in, give feedback, rate it and so on. The problem with that approach is that it requires the user to change the way they work, which I don't favour. I want a to...