I remember there was a third party site that did all the sign up, quotas and key generation for API keys. I can not remember the name, so wondering if anyone knows about it?
+1
A:
I haven't used them and know very little about them but Mashery came across my radar the other day when I was looking at the Netflix API. They've got a pretty impressive list of customers.
Robert Simmons
2008-12-30 21:47:54
and are very expensive.
z8000
2009-04-27 21:41:38
A:
WebServius ( http://www.webservius.com ) does just that (API key management and more).
Eugene Osovetsky
2009-09-30 23:43:09
A:
You can do it easy with PHP :D
<?
$customer = ' ';
$customerid = ' ';
$key = md5('Some salt here'.$customer).md5($customerid);
// Then add something to add it to your database, like
mysql_query("INSERT INTO APIKEYS Customer='".$customer."' ID='".$customerid.'" Key='".$key."'");
?>
Then when the API key is passed to your server, like a GET function perhaps
<?
if(mysql_num_rows(mysql_query("SELECT * FROM APIKEYS WHERE Key='".$_GET['api']."'")) > '0') {
// Verified!
} else {
// Uh oh!
}
?>
Hope that helps ^^;
JonnyLitt
2009-09-30 23:58:30