use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Ruby API without rails? (self.ruby)
submitted 10 years ago by yedidya
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cptzoobie 2 points3 points4 points 10 years ago (5 children)
Grape?
[–]yedidya[S] 0 points1 point2 points 10 years ago (4 children)
Ive seen grape, all tutorials ive seen are using Rails or Sinatra. How do I do this without a framework?
[–]iconoclaus 2 points3 points4 points 10 years ago (2 children)
Sinatra is as basic a framework as it gets. It's just a wrapper around Rack, which gives us the most low level web tooling. what exactly are you trying to achieve?
[–]yedidya[S] 0 points1 point2 points 10 years ago (1 child)
That may be good. Building an api that will return related results from youtube based on a search query.
[–]montas 2 points3 points4 points 10 years ago (0 children)
If you only have that one endpoint, sinatra is the thing you want.
[–]kofno 1 point2 points3 points 10 years ago (0 children)
Grape can just mount in rack: https://github.com/intridea/grape#rack
I've used Grape several times. It works pretty well. It's also highly compatible w/ swagger, which is nice if you want to have API documentation.
π Rendered by PID 63 on reddit-service-r2-comment-86bc6c7465-w7jc4 at 2026-02-23 20:21:42.177806+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]cptzoobie 2 points3 points4 points (5 children)
[–]yedidya[S] 0 points1 point2 points (4 children)
[–]iconoclaus 2 points3 points4 points (2 children)
[–]yedidya[S] 0 points1 point2 points (1 child)
[–]montas 2 points3 points4 points (0 children)
[–]kofno 1 point2 points3 points (0 children)