Hyperresource: a hypermedia API client for Ruby right

Any of you who know me aren’t surprised about me posting this story: it’s right up my alley! Basically, hyperresource is intended to be a general hypermedia client. What’s that mean? It can work with any API that happens to use one of the media types it supports. Right now, that’s just HAL+JSON, but more [...]

Write Ruby API’s with Stripe’s Poncho (a DSL for REST interfaces) right

As we said in a previous post: WE LOVE STRIPE! The team at Stripe has open sourced a RubyGem that makes REST API’s easy to create, Poncho. It’s compatible with any rack-based framework — like Rails or Sinatra. Best of all, it has a slew of (simple to use) features: Standard Params: integer, array, boolean, [...]

The White House shares their web API standards on GitHub right

A fine hat tip to Lisa Nelson for sharing this on Twitter. Have you seen the new White House Web API Standards? On Github github.com/WhiteHouse/api…— Lisa Nelson (@LisaLNelson) March 21, 2013 From the readme: This document provides guidelines and examples for White House Web APIs, encouraging consistency, maintainability, and best practices across applications. White House [...]

GitHub exposes public ssh keys for its users right

Thanks for sharing this Postmodern. TIL @github exposes the ssh public keys for users. github.com/defunkt.keys Handy for adding devs to servers/repos.— Postmodern (@postmodern_mod3) February 10, 2013 Today I learned from @postmodern_mod3 that GitHub exposes public ssh keys for its users. For example, if you wanted my public keys: https://github.com/adamstac.keys So never again should you have [...]

Work with 1.8 million IRS-recognized Nonprofits in Ruby with the GuideStar API right

For those out there working on fighting social injustices and changing the world like we are at Pure Charity, I wanted to mention this Ruby wrapper for the Guidestar API from Mauricio Gomes of Gemini SBS. We’re making use of it :) For example, we can… Search by organization name: Guidestar::Client.search(:name => “Help One Now”) [...]

Hyperspider – Declarative HATEOAS API crawler for Node.js right

Interesting project from Jed Schmidt to roll up resources in hypertext APIs: Give it a list of url patterns, and it will recursively crawl your hypertext HTTP API, streaming back every matching endpoint. var hyperspider = require(“hyperspider”) var options = { host: “mytwitterclone.biz”, path: [ "/users/jed", "/users/jed/following", "/users/*" ] }) hyperspider(options, function(err, data) { // [...]

Backstop – Simple HTTP service for submitting metrics to Graphite right

We’ve mentioned a couple of Graphite-related projects previously. Jason Dixon and Michael Gorsuch from Heroku have released Backstop, a simple HTTP-to-Graphite proxy to make it simple to send metrics. Using the /publish method, metrics and annotations can be posted that match any approved prefixes found in the PREFIXES environment variable, custom in the following example: [...]

Episode 0.8.1 – Celluloid, concurrency, and more with Tony Arcieri

Wynn talked with Tony Arcieri, creator of Celluloid, about concurrency in Ruby and his thoughts on Erlang, Clojure, and design patterns. Items mentioned in the show Tony Arcieri, creator of Celluloid. Celluloid is painless multithreaded programming for Ruby. Celluloid:IO provides evented I/O for Celluloid actors. DCell lets you build distributed Celluloid apps over 0MQ. Adam [...]

Rails::API – Lightweight Rails stack for headless API apps right

“Rails is just an API,” say Alex (featured on Episode 0.7.1) and others. Rails core team member Santiago Pastorino might not endorse the “just” part, but his Rails::API aims to provide a slimmer stack for those wanting to use Rails as an API backend for their client-side or mobile applications. The result is a fine-tuned [...]

MBRequest – Easier API wrappers in iOS and OSX right

A good API wrapper should handle network transport, payload serialization/deserialization, and authentication, abstracting these details away in order to let the developer deal with the business domain of the API. Projects like Faraday, Requests, and others have made creating higher level wrappers much easier. MBRequest from Mobiata does the same for iOS and OSX: NSURL [...]

GitHub Archive: API for GitHub’s historical timeline right

You folks create a lot of events on GitHub. Trying to mine and report on that data is definitely a big data problem. Ilya Grigorik wants to help the community get a handle on the GitHub firehose with GitHub Archive. With an API call you can get a range of GitHub’s public timeline data for [...]

Usergrid – Turnkey social graph, activity streams for your application right

Almost every application has a social layer these days. If you have users, most likely you have relationships, roles, and activity streams. Usergrid, a Java project from Apigee aims to be a turn-key platform to add these features to your application. If the thought of setting up Cassandra is intimidating, you can use their hosted [...]

httpie – Python-powered HTTP CLI for humans right

Although cURL is great, we’re always looking for great console tools for working with HTTP. Jakub Roztocil has released HTTPie. Built on Requests, HTTPie provides a clean command line interface for HTTP requests: http PATCH api.example.com/person/1 X-API-Token:123 name=John email=john@example.org PATCH /person/1 HTTP/1.1 User-Agent: HTTPie/0.1 X-API-Token: 123 Content-Type: application/json; charset=utf-8 {“name”: “John”, “email”: “john@example.org”} I appreciate [...]

Renee – Sinatra-inspired Rack framework for über DRY routing right

Josh Hull knows Sinatra. As part of the Padrino, he also knows about creating new alternatives to popular frameworks. His latest effort is Renee, a web framework for Rack that aims to DRY up your routes. We wondered though, as Sinatra fans, if we were to come up with a cleaner and more powerful DSL, [...]

RestSharp: Simple REST and HTTP API Client for .NET right

I’m a big fan of making idiomatic language bindings for APIs. Making common tasks such as URI generation, transport, authentication, and payload parsing configurable options and providing a higher-level API lets application developers focus on the business domain instead of low-level networking. .NET developers looking to write API wrappers without starting from scratch should check [...]

Episode 0.6.0 – Fog and The Cloud with Wesley Beary

Wynn sat down with Wesley Beary from Engine Yard to talk about the Fog project and the Cloud, live from Red Dirt Ruby Conf. Items mentioned in the show: Wesley Beary aka @geemus The Fog project is the Ruby cloud services library By coincidence this interview was recorded the day the cloud went down Fog [...]

Episode 0.5.5 – Goliath, Event Machine, and SPDY with Ilya Grigorik

Wynn caught up with Ilya Grigorik, Founder and CTO of PostRank to talk about Goliath, async Ruby web development, and Google’s SPDY. Download MP3 Items mentioned in the show: We’ll be doing a live show at Red Dirt Ruby Conf. Look for Steve at CodeConf. Ilya Grigorik founder and CTO of PostRank. PostRank taps into [...]

Episode 0.4.7 – Open Government and the Citizen Coder with Carl Tashian

Adam and Wynn caught up with Carl Tashian from Open Government to talk about OpenGovernment.org, OpenCongress.org, and the rise of the Citizen Coder. Items mentioned in the show: Carl Tashian is Director of Technology at Open Government OpenGovernment: Empower individuals and organizations to track government at every level OpenCongress.org – open source Rails app to [...]

govkit: Open Government APIs in a box right

In the same way that Fog aims to be the “Ruby cloud services library” by providing an all-in-one bundle of wrappers for popular cloud services including Amazon, Rackspace, and others, GovKit from OpenGovernment is a Swiss Army Knife of government API wrappers. GovKit currently supports: OpenCongress, which has an API for federal bills, votes, people, [...]

jsondns: DNS JSON API right

If you’re building a cool domain name service or DNS-related mashup, be sure and check out JSON DNS from Joël Franusic. JSON DNS aims to create a standard for DNS info in JSON, and the project includes a small Rack app for serving that data over HTTP. // curl http://dig.jsondns.org/IN/thechangelog.com/A { “header”: { “aa”: false, [...]

webdis: HTTP + JSON API for Redis right

HTTP is the dial tone of the web. Apps that speak HTTP tend to grow in popularity, such as CouchDB whose built-in HTTP-based RESTful API makes it super easy to store and retrieve JSON data. Nicolas Favre-Felix gives some web love to Redis fans with Webdis, an HTTP interface for Redis that serves up JSON. [...]

apiary: Event Machine API in a box for your Ruby classes right

If you need to stand up an API for your Ruby web application, you’ve got a lot of choices including Rails, Sinatra, even close-to-the-metal Rack, or Grape. But, if you’ve got some simple Ruby classes that you’d like to expose directly as a web-based API take a look at Joshua Hull’s Apiary. Apiary uses Thin [...]

node-o3-canvas: HTML5 Canvas API for NodeJS right

This isn’t the first time we’ve featured the work of our friends over at Ajax.org. In the past we mentioned o3 and Cloud9 and even had them on the podcast, see episode 0.1.6. Their project, node-o3-canvas, is an HTML5 Canvas implementation for NodeJS based on LibAGG and Freetype. It’s implemented using their previously mentioned O3 [...]

WatchWednesday for 20101103

Our weekly list of projects you might have missed on GitHub: RestKit RestKit is a nice high-level library for consuming REST resources in Objective C. It runs on OS X and iOS and provides three major features: Network transport including GET, POST, PUT, and DELETE Object mapping between JSON responses and local domain types, in [...]

scrobbyl: Automatically Scrobble your vinyl collection in real time right

When we find them, we like to cover niche projects that show off the homebrew spirit that has always been strong in open source communities. Scrobbyl is a Python utility to sample what’s spinning on your turntable and scrobble it to your Last.fm account. How does it work? First, authenticate Scrobbyl with your Last.fm account: [...]

resty: Piping hot REST client for bash or zsh right

I love REST APIs, so I’m always looking for new tools for the toolbox. Resty from Micha Niskin caught my eye because it can be loaded into your bash or zsh. To install, just download the script and source it. $ curl http://github.com/micha/resty/raw/master/resty > resty $ . resty Now your shell is loaded up with [...]

no.de: CLI for Joyent’s Node.js hosting right

Joyent’s No.de sevice and its API look to be an exciting option to host Node.js projects. Jeremy Johnstone brings that API to your CLI with his no.de wrapper. no.de can be installed via npm: npm install no.de Next, configure your API credentials: $ no.de config –api pengwynn S3CR3T New config options for API have been [...]