If you've read some of our articles on this site, you might've noticed some (if not all) skip writing tests for the code we publish. This is only because there's so much you can write in an article before it turns into an essay. It's important to note that writing tests for your code is extremely important. When you're just playing around with …
ruby on rails
How To Use the Kairos API With Ruby on Rails
Social media websites have made face recognition pretty much a mundane thing nowadays. Facebook, Google, and others can easily recognize your face in a picture, making it easy for you to categorize and find them, build albums, etc. Building such an algorithm is no easy feat, which is one of the reasons you can find some services that provide this …
Build a Influencer Search App with Ruby on Rails
Internet search has gone way beyond the traditional web search. Thanks to other mediums of content shared over multiple online platforms, there is a new dimension to search. Influencer search is one such option. It is a smart strategy that helps in content marketing. It lets you find authority content written by influencers, and also gives you a …
How to use the Google Translate API with Ruby on Rails
Google, mostly known for its search engine and extremely popular email service, Gmail, also provides an incredible amount of APIs, which are extremely powerful and useful, no matter your needs. From image recognition to maps, their offering is almost unmatched. In this article, we'd like to take a look at the Google Translate API. Google's …
How To Use The AliExpress API With Ruby
AliExpress is one of the biggest online retailers in the world. As such, they have enormous amounts of data, ready to be used by applications you can develop yourself. They naturally provide an API so that developers can integrate into their platform. Among other things, you can search for products and get details about them, including shipping …
How to use the Instagram API with Ruby (in 4 Easy Steps)
Instagram is one of the most popular social networks around. With more than a billion users, it's safe to say there's some potential for integrations. We'd like to take a look at what can be achieved using Instagram's API. We're going to look into how to use the API, what information we can get from it, and how to use it with Ruby. How to Sign Up …
How to use the Twitter API with Ruby
Ruby is often thought of as a web language, due to the popularity of web frameworks like Ruby on Rails. Building websites and web backends using Ruby is certainly easy and the ecosystem is huge, making it ideal. But Ruby can of course be used for other purposes. In this article, we'd like to show you how to use a Twitter API and an example of how …
How To Convert An Existing Rails App to an API
Ruby on Rails is a great framework to build web applications. A great share of websites and services use it nowadays, including GitHub, Airbnb and Shopify. Since its introduction 14 years ago, it has evolved into a mature, flexible and extremely powerful tool to develop entire web services. Moreover, the community around it is huge, meaning …
How To Use a News API with Ruby on Rails
RapidAPI provides a good deal of News APIs. From technology news to movie articles, you can most likely find what you need for your application here. In this article, we'll be focusing on the Hacker News API. This is an API for the well renowned Hacker News website, where technology and other different types of articles get submitted, voted and …
How to Build a Custom Search Engine with the Google Search API (with Ruby)
Google is nowadays the go-to default search engine for almost everyone (Sorry Bing!). Not only that, but their service offering ranges from email to web hosting, including AI services, maps, among many other things. You usually don't think of Google Search as being available to developers as an API. In fact, it's one of a plethora of APIs Google …
How to use the SendGrid API with Ruby
Email is a technology that has been part of everyday life for more than 50 years. It's still one of the most important methods of communication, even in the era of smartphones and apps. It provides an extremely reliable and secure way of messaging, from notifications to password resets. In some countries, email (or some form thereof) is even used …
How to use the Amazon Product API in Ruby
Amazon is by far the biggest online retailer in the world. Founded in 1994, it's been growing from a small garage startup to a multinational sales and technology leader for 25 years. As such, the amount of data about the products they sell on their marketplaces is enormous, and this is not something they chose not to share. The sales giant …
The Best Ruby Frameworks to Build a REST API
As Ruby has become more and more popular over the years, many web development frameworks have emerged. Some of them are highly focused on building whole websites (like Ruby on Rails), while others are more simple and to the point, like Sinatra. Both ends of the spectrum have advantages and disadvantages when it comes to creating what you …
How to Build a RESTful API in Ruby
Every major online service nowadays offers an API. Shorthand for Application Programming Interface, it provides developers programmatic access to the service. There are different types of APIs, but most boil down to RESTful, JSON APIs. If you're planning on building an app, adding an API should definitely be in your roadmap. In this article, …
How To Use an API with Ruby on Rails (Beginner’s Guide)
On August 15, Ruby on Rails released its version 6, making even more features available to developers. The 13-year-old framework gives you a plethora of tools out of the box, which allows building complete applications in a very short time. With adapters for almost all database systems available, you don't need much else. If, however, you need to …