Mashape Blog

Rumors aboard Mashape's spaceship

Chris Ismael
Here are some Mashape APIs based on Machine Learning to prepare you for our April Hackathon tomorrow (April 6th). Example: Face Recognition using Javascript Example: Yactraq Video Topic Extraction and Transcription using Javascript Nodejs wrapper for Yactraq Creating social “signals” with Ping.It Example: Face Recognition login page
Chris Ismael
This is a quick tutorial on how to transcribe and extract topics from videos using the Yactraq Speech2Topic API in Mashape. (Note: Yactraq is giving away $500 to the winner Yactraq category for this coming Mashape April Hackathon on Apr 6th, 2013.  We require a number of teams to submit to this category to unlock the prize :)) This is particularly useful if you’re trying to get context in the video, which can be used to query ad services to pull relevant content. The process is very simple, we send a link (YouTube) of a video to be processed by …
Chris Ismael
This is a tutorial on how you can use the Face Recognition API in a web application using Javascript.  The Face Recognition API makes it ridiculously easy to add face recognition capabilities to your app, whether it’s web, mobile, etc.  We will use photobooth.js to take pictures from our webcam. (Make sure you have one in your machine or plugged in) There are 2 main things to remember when using the Face Recognition API.  You need to: “Train” the Face Recognition API, which means uploading a bunch of pictures that will constitute the “database” from which pictures will be recognized.…
Chris Ismael
This sample code snippet below is CORS-enabled so you don’t have to worry about cross-domain requests. $.ajax({ url: 'MASHAPE-URL', // The URL to the API. You can get this by clicking on "Show CURL example" from an API profile type: 'POST', // The HTTP Method data: {}, // Additional parameters here datatype: 'json', success: function(data) { alert(JSON.stringify(data)); }, error: function(err) { alert(err); }, beforeSend: function(xhr) { xhr.setRequestHeader("X-Mashape-Authorization", "YOUR-MASHAPE-KEY"); // Enter here your Mashape key } }); Source: https://gist.github.com/thefosk/5024297
Chris Ismael
UPDATE (Oct 28, 2013): The post below is already outdated.  To consume Mashape APIs through node.js, we recommend that you use Unirest for node.js UPDATE (Feb 27, 2013):  Please note that we have improved the way authentication keys are handled in Mashape.  The header value below will be replaced by either the new Testing or Production Keys.  Read this post to learn more. — Hi guys, here’s a short example on how you can call APIs in Mashape through Node.js / REST.  It’s pretty straightforward. You just need to remember that you need to make a secure call using https://,…
Augusto Marietti
The rumors about Google’s redesign are true, and you can try out the new Google Search with a very simple method. 1. Go to Google.com. 2. Paste in the search bar this code below: javascript:void(document.cookie=”PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com”); 3. Click on “Google Search” button 4. Here we go! You are in the new Google! Enjoy…