REST-like API framework for Ruby
open sourceMITfree
Grape is a REST-like API framework for Ruby that runs on Rack or alongside Ruby on Rails and Sinatra, with a simple DSL for building RESTful APIs. It has built-in support for common conventions, including multiple formats, subdomain or prefix restriction, content negotiation and versioning.
Problems it solves
- build a REST API in Ruby without full Rails
- add a versioned JSON API to a Rails app
- define API endpoints with a Ruby DSL
Features
- DSL for RESTful APIs
- runs on Rack, mounts in Rails or Sinatra
- multiple formats and content negotiation
- API versioning
Alternatives
The same job
These do what Grape does.
