Tag Archives: api

Using Golang with Api.ai Artificial Intelligence service

Part 2 — In this article, we will try out their /tts service. In part 1 of this series we explored their /query service. Here, we will explore their/tts service which takes text and returns the generated speech (as an audio WAV … Continue reading

Posted in Go, Tutorials | Tagged , , | Leave a comment

Use Go and Clarifai API to Recognize NSFW Images

The ‘Not Safe For Work’ (NSFW) model analyzes images and videos and returns probability scores on the likelihood that the image or video contains pornography. For those of you who don’t know what NSFW is, we’re talking about Not Safe … Continue reading

Posted in Go, Tutorials | Tagged , , | Leave a comment

API Throttling on Requests Per Minute

In my previous blog post I have discussed API designing and versioning. Now I am going to build a simple algorithm to restrict API access based on requests per minute using redis Very often, as an API provider we need … Continue reading

Posted in Ruby on Rails | Tagged , | Leave a comment

Implementing Rails APIs like a professional

Today, a web-portal that does not support APIs is not even considered a web portal! This post explains how we can implement Rails APIs in our application. It talks about API keys, API versioning and authentication techniques. Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , | 15 Comments

Designing Rails API using Rabl and Devise

Most of us are aware that enabling API access for rails application is easy as Rails provides RESTful APIs by default. However, a little complexity arises when some responses are expected in xml format (maybe for some legacy system) and … Continue reading

Posted in Ruby on Rails | Tagged , , | 65 Comments

Download Rails API to work offline

Command to download/copy rails api to work locally(offline) mode. wget -mk http://www.api.rubyonrails.org For more information click

Posted in Ruby, Ruby on Rails | Tagged | 1 Comment

10 steps to get start with MySpace Ruby SDK

Follow 10 simple steps in order to use myspace sdk api 1. Remove all your previous gems installed+ gem uninstall myspace 2. Checkout sample source code svn checkout http://myspaceid-ruby-sdk.googlecode.com/svn/trunk/ myspacesdk 3. cd myspacesdk/samples/rails/sample4. Modify config/database.yml accordingly development:adapter: mysqldatabase: sample_developmentpassword: abcdpool: … Continue reading

Posted in Ruby | Tagged , | Leave a comment