api

What kind of API response does this script produce?

I am experimenting with differnt API's of websites right now because I am building my own API for site, On bebo.com through there API they have a php cient which passes a key and secret that the owner of the app has. you then have a client library with a bunch of methods/functions you can call, all of the methods work like this: pub...

Questions about jQuery getScript

Is it better (in any way) to use jQuery's getScript to load the external JS than linking the javascripts manually in the html? ...

How to use a key and secret for verification?

On most API's such as facebook and bebo to use there API you must get a Key and secret, I am just wondering what is some good methods of doing a system like this. I will be using PHP/MysQL. How can I basicly verify a user key and secret are ok when there app sends there API request? I was thinking of storing them in mysql, which I wil...

How to authenticate your server to my server when a user loads your page in PHP?

user signs up for a key and secret from my site, then they can send/receive from my REST server. Where I need help is when a user interacts with the REST, how can I determine if they are authenticated using THEIR key and secret? Basicly this will be for a social network site app area. I have seen that many social networks have an ap...

Add New Gist using the Github API

I'm making a small app in Adobe Air which I need to interact with the Github Gist API. However I'm kind of stuck. If you're not familiar with Adobe Air you can still help, the XMLHttpRequest javascript object can do cross domain requests, as there is no domain as such. So theres nothing Adobe Air specific here. Where I'm stuck is I th...

Google Translate API server side

Is there a way to use the Google Translate API with PHP (server-side)? Any resources on that matter? I've searched around but i havent found a valid solution. ...

After I authenticate a user in API how should I make sure they don't have access for too long

I am working on builing an API and application section on a social network so it will be something like myspace, facebook, hi5, friendster, netlog, and many other's have application section, they all use a REST server method and most of them will issue a api key and secret to each application developed. The person who builds the app wil...

Model Object C#

hey guys, i am working in a compnay for training, and they asked me to do a modeling application. to be clear, i want to code using C# an application that do as same as the "logic works" or "Visio". why dont they use those? because they want to use different items, plus they want it to be stored in a database not as a file with extentio...

does anyone know ebay getDeals() api call

Hi all, I'm about to start developing a small ebay based application. I saw the following function in the ebay API documenation getDeals (here https://www.ebaypartnernetwork.com/files/hub/en-US/api.html), though when I click on it, it doesn't seem to work. Does anyone have any kind of experience with the Ebay API, is it reliable? From m...

How do I write a Hero like unlocking app for the Milestone (Droid)?

I just got my Milestone (aka Droid in the US) and want to write a simple app to ulock the screen touching one of the soft buttons, ala Hero. I looked into the Android API and could not find a helpful one, could someone enlighten me? ...

Advertising network for publishers, do any have an API?

I've got a site called http://www.manglebracket.com. It's a handy little web app for converting Word documents to HTML. I want to monetize it with Adsense-style ads, but the standard "paste this JavaScript into your site" won't work for my use case. Basically, the user uploads a Word doc and goes to a "workspace" page where they choose ...

How to call Magento Api method in another api class?

I created one module in magento. I create Api.php in that. Now i want to call one another api method in that. For example in my module i have 2 folder. Product and Shipping. Now i create one method in mymodule/Shipping/Model/Api.php and that i want to use in mymodule/Product/Model/Api.php. So how can i import that api class in my product...

google java api for google search

Does google provide a Java server side api *(NOT java script).*I dont want the ajax api which works at clint side. What i want is that the result returned for a keyword should return me search result in some specific data structure.Like List or set data structure.Then i want to manipulate the result according to my need in java code. I...

Is it a good idea to use undocumented public code from the Python standard library?

For instance, in multiprocessing.managers there is a function called MakeProxyType. This function isn't in the multiprocessing documentation at all, but its name doesn't begin with an underscore either. Disregarding the subject of whether or not it's actually useful to use MakeProxyType, would it be ok to use this function in my code? ...

Creating Great API Documentation: Tools and Techniques

I'm tasked with creating a web service that will be used by several different developers using different platforms, working for different companies, and having greatly varying skill levels. As such, I would like to create documentation for this web service API that is both complete, and very easy to understand. Although I'm sure this i...

What is a good web based API to retrieve words related to a given word?

I'm looking for something like Google Sets, but in API form. Google Sets doesn't allow scraping, nor does it have an API. Example, I'd like to search for "electronics" and have it return "cd player, television, telephone, computer, etc...". Possibly, like Google Sets, have it take a couple words. A good example of the results I'm loo...

Linux equivalent of GetCommandLine and CommandLineToArgv?

I wonder if there are some API to get the current process' command line arguments on Linux. I guess I was terribly unclear. The real purpose of the question was about passing unicode file names through command line arguments. ...

Obtain coordinates of a point on a road

I have a range defined by an intersection and a number of feet away from the intersection. (e.g. 100 ft north of Washington St. & 5th St. to 300 ft south of Washington St. & 6th St.) I am looking to geocode this into a lat/long pair. However, I cannot see any way to get Google Maps API or Virtual Earth, etc. to do this. They will happil...

ASP.NET MVC and Providing Third-Party API

I'm developing a web app. This is more of a line-of-business app rather than a web site. I'm using ASP.NET MVC, SQL Server 2008, and I've purchased LLBLGen. I need to provide an some sort of API to third parties. For instance, if this was a medical app, third parties might need to CRUD patients, retrieve complex reports, engage certain k...

Post to twitter help - using php

I am trying to post a url to twitter but the url is user generated and dynamic... <a href="http://twitter.com/?status=[urlencode('I'd like to borrow this item @neighborrow')].">TWEET THIS REQUEST</a> i started with that but its not catching the actual url- then i tried a few others but they seem to be for static urls do i have to us...