Baseball Statz is a Rails app hosted on Heroku that uses the Ruby powered Gameday API which provides live MLB stats. View all the stats for today's games here.
Items matching "api" (RSS Feed)
March 04, 2010
February 20, 2010
February 17, 2010
Seer is a lightweight, semantically rich Ruby on Rails gem that provides a seamless interface to the Google Visualization API. You can easily create a graph or chart in a variety of formats and display it in your app with only a single line of code. The gem is available now through Gemcutter. A full intro can be found on my blog: Simple, Semantic Graphing for Ruby on Rails with Seer.
February 16, 2010
Trails is built using the Twilio Ruby Library to make it easier to integrate the Twilio API into a Rails application.
February 12, 2010
Zhao Lu (aka @zlu) has shared a tutorial he has done using Ruby on Rails and the recently released Tropo Web API. The tutorial shows how to add, or build, the Tropo features to your Rails application in 15 minutes using REST/JSON API. All of this deployed to Heroku for easy application deployment. Then he goes on to show how to use Tunnlr with Rails to punch through firewalls without port forwarding...
Hugo Baraúna from PlataformaTec shows on this post how to get Bluepill (an alternative to God) monitoring your Delayed Job process deployed with Capistrano.
We are using CouchDB as our main datastore and with our growing test suite, I was looking for a way to speed it up. I wanted to make the tests faster without introducing mocks everywhere or having to change the already written tests. What I ended up doing is writing an in-memory CouchDB implementation in Ruby: RockingChair. It is basically just a big hash with a CouchRest HTTPAdapter. Apart from the simple document API (store, retrieve, and delete object) it also supports CouchPotato and SimplyStored views. Checkout RockingChair on github.
Lessons learned from building HomeMarks native iPhone application to synchronize Core Data with a RESTful backend built using rails 3.0.0.pre. This covers a previous design methodology called the AJAX head pattern which decouples rails applications from the views they present which allowed an easy API foundation for the iPhone application and data sync methods.
VersionMaster - a plugin to manage version numbers (eg. "v1.0.8" etc) for Rails apps and having it automatically update whenever a new release is deployed using Capistrano.
February 05, 2010
Step by step tutorial to build a Rails plugin with Rails 2.x and Rails 3.0 compatibility in addition to a compilation of links about the new API for plugins. Read more.
February 03, 2010
February 01, 2010
GMoney is a RubyGem that wraps the Google Finance API and can be used to help keep track of your investments.
MacRuby 0.5 just got released read what changed since last beta. Summary: HotCocoa is now a separate gem, better AOT compilation, GCD API.
January 27, 2010
This tutorial explains how to use a simple machine learning technique to teach your Rails app how to recognize tweets you'd be interested in, using the Twitter API.
January 22, 2010
I just launched the tropo-webapi-ruby for Tropo.com. Provides voice, SMS and IM integration to Sinatra and Rails apps.
January 21, 2010
The API development team just released a major version of the ibm_db gem, which includes ActiveRecord support for parameterized queries.
January 19, 2010
Article about building a web app with Cramp using Twitter Stream API and HTML5 Websockets.
January 16, 2010
Words is an easy-to-use interface to the WordNet® lexical ontology. There are numerous interfaces out there however they appear to either be unstable, slow or make us of out-dated / distribution specific libraries many lacking ruby-like syntax. Words provides both rovides both a pure ruby and an FFI powered backend over the same API. The FFI backend uses Tokyo Cabinet and rufus-tokyo to provide cross ruby distribution compatability and blistering speed. The pure ruby interface operates through a ruby optimised index along with the standard files provided by WordNet®.
The Ruby Core/Standard API is full of hidden features that don't get a lot of publicity. In the first in a planned series of 'Rediscovering Ruby' articles I take a look at GServer, a generic server micro-framework featuring thread pool management, simple logging, and multi-server management.
January 08, 2010
An open-source twitter search client written in MacRuby, using the apple PubSub framework and the twitter search atom api. read more here
January 02, 2010
Found This: LocalNewsRadar Looks like its based on Outside.in api with ability to hook various other open apis.
December 29, 2009
Miso, the unified API for simple image operations commonly used on the web, has gained a GraphicsMagick processor in version 0.3. Thanks to Paul Vaillant for the contribution.
December 22, 2009
WebSockets are one of the most underappreciated innovations in HTML5 - bi-directional, fully asynchronous and data agnostic data exchange. Dev builds of Google Chrome, Firefox and Safari now all support WebSockets, which means that as developers we start taking advantage of the new architectures. A hands on look at the API, and implementation of Ruby WebSocket server and clients.
December 18, 2009
A Ruby API for using the MLB Gameday statistics data. Easily get all sorts of deep baseball statistics about the current or past seasons using this library. Reads data from the same data source used by MLB.com's Gameday application. The library includes many tests that demonstrate all sorts of stats that you can grab and do stuff with.
http://github.com/timothyf/gameday_api
http://github.com/timothyf/gameday_api
December 05, 2009
Speedy is a utility for Phusion Passenger / ModRails to automate the process of creating virtual host and deployments in development environment (vs creating virtual hosts manually for each and every app). Speedy is for both Linux and Mac platform (currently works with Ubuntu/Debian variants only) and allows developers to rapidly deploy applications with in a single command. In addition to that Speedy helps to perform clean Apache – Passenger configuration without touching the server configuration files.
November 30, 2009
I released a simple Ruby API wrapper for Wakoopa. It's built to give an ActiveRecord-like way to fetch your software usage data. The source is on github, there's a pretty good wiki and the gem is on gemcutter. If you run into any issues, please report them.
LinkedIn launched its new API last week, allowing any developer brave enough to implement OAuth to integrate with one of the largest social networks around. Seeking an opportunity to really understand OAuth more fully and play around with the LinkedIn API at the same time, I created the LinkedIn Ruby Gem.
November 27, 2009
If you like RightJS, consider voting for RightJS to be included in Google AJAX Libs API. And if you don't know this both powerful and lightweight lib yet, you might want to check it out, nomen est omen!
November 25, 2009
Some thoughts on using Rails to build an API, and other observations I had while building one.
November 19, 2009
We just launched Ruby community statistics, which gives access to various metrics across the community. We generated some graphs based on the current data, a code metrics scatter plot tool for making comparisons, and made all of the data available via our API so you can dig into it. Now you can get answers on question like, does code with more duplications have higher complexity?
November 16, 2009
Here I demonstrate how to use Rack::Rewrite as an alternative to the Apache rewrite ruleset common to many capistrano-based deployments.
November 05, 2009
I just added support for the new Topic API to the Ken Ruby Freebase Library. As usual the library wraps the JSON result of the web service to convenient Ruby Objects. The wrapped Topic API may be a good starting point for those who wanna get going with Ruby and Freebase. It should now be even easier to build simple Ruby Freebase apps (based on the Topic API).
November 01, 2009
Twitter 0.7.0 and supports the new Twitter Lists API.
October 31, 2009
Dump is simplest way to dump and download production database and assets to your local machine. Capistrano tasks included.
October 28, 2009
A simple technique using Rails' flash[] + the Google Analytics API to track goals (like signups) that don't have a distinct URL of their own.
EngineY is an easy to use social network framework that is easy to customize and deploy as your own powerful and feature packed social media site. Empower users with their own blogs. Enhance collaboration with forums, groups and events. Find out who is attending your events with the built-in RSVP feature. Let your users post Twitter-like status messages. Track all the activity on your site with the live activity stream. Build a custom client to access all of your social data using the RESTful API.
October 22, 2009
I just launched GeoMereLaal , A Rails plugin to help you create GeoLocation aware apps , based on newly introduced GeoLocation API in Firefox 3.5.
October 20, 2009
October 16, 2009
Sunspot is a robust API for indexing and searching using the Solr search engine with a pure-Ruby interface. The new release includes support for geographical search using LocalSolr, keyword highlighting, and advanced dismax features for precision relevance. Read all about the new features.
For all you Radiant CMS developers, Aissac published a new extension. Radiant Globalize2 Extension allows you to easily translate the content of your site into any number of languages. It uses the Globalize2 Rails plugin based on the I18N API. Check out the source code on github. For installation and configuration details visit the Radiant Globalize2 Extension documentation page. Also, if you need to translate Paperclipped assets, you can use Radiant Globalize2 Paperclipped Extension.
October 11, 2009
I just wrote a second article in "Rails Tricks" series, this time focusing on hacks (one large, one small) around/using mislav-will_paginate. I hope it's going to open a few eyes on the myriad of possibilites that mislav_will-paginate exposes thanks to its nice design and API.
October 09, 2009
For twitter's JSON stream. Based on EventMachine. Adheres to twitter's guidelines. See the usage example.
September 28, 2009
The most intelligent and rapidly developing Ruby/Rails IDE JetBrains RubyMine goes 2.0 Beta. Read and see more about the new features and download RubyMine 2.0 Beta. RubyMine 2.0 will be available in mid-October and, according to the licensing policy, free for all existing users. During the Beta period you can buy RubyMine for only $79!
September 23, 2009
My repositories all ignore css files and they are generated from the SASS files with a Capistrano deploy hook. Add in Asset Packager and you end up with a small dependance chain for deployment. The dependancies are pretty easy to get past but hopefully this will save someone else a few minutes. Deployment solution here
September 22, 2009
TweetStream is a brand new gem to connect to the Twitter Streaming API. It also includes built-in daemonization functionality.
There's a bit of documentation here, and the rubyforge gem now uses it. If you use the rubyforge gem, make sure you do a
rubyforge setup to make the new codes work.September 17, 2009
Suprised you didn't I, is it that time of year already? My how it creeps on you... You're in luck there is still time to and now a Ruby Pirate Speak Gem to help get your site converted for Saturday.
August 20, 2009
Check out the release notes for Backgrounded, The API for calling background jobs.
August 18, 2009
Most web applications are built with the assumption that the client / browser is 'dumb', which places all the 'scalability' and load on the server. But, what if, the browser was smarter? A look at ReverseHTTP & WebSockets APIs.
August 17, 2009
Clickistrano is a simple web front-end, written in Sinatra, that initiates Capistrano deployments. After starting the deployment, it displays a live-updating deployment log as well as the deployment status.
