recentpopularlog in

rtopitt : rest   45

octokit/octokit.rb: Ruby toolkit for the GitHub API
Ruby client to the GitHub REST API

Good example and reference of best practice implementation of this kind of API client
api  gem  github  ruby  reference  boa_prática  rest  exemplo  inspiração  http 
july 2019 by rtopitt
PutsReq
PutsReq lets you record HTTP requests and fake responses like no other tool available.

Record requests

Change your target URL to a PutsReq URL to start recording your requests.

Fake responses

PutsReq is the easiest way to fake HTTP responses. You can define the response status, headers and body you want using JavaScript.

Forward requests

You can easily forward requests to another URL, including localhost.
api  curl  http  rest  utilidade  webapp  development  webhook  localhost  tunnel 
april 2017 by rtopitt
JSON API — A specification for building APIs in JSON
If you've ever argued with your team about the way your JSON responses should be formatted, JSON API is your anti-bikeshedding weapon.

By following shared conventions, you can increase productivity, take advantage of generalized tooling, and focus on what matters: your application.

Clients built around JSON API are able to take advantage of its features around efficiently caching responses, sometimes eliminating network requests entirely.
api  json  rest  reference  schema  convention  specification 
september 2015 by rtopitt
REST lessons learned
This post provides an overview of some lessons I learned while bulding non-trivial REST APIs.
api  rest  webservice  dica  top10  boa_prática 
march 2015 by rtopitt
Best Practices for Designing a Pragmatic RESTful API | Vinay Sahni
Now, the internet has no shortage on opinions on API design. But, since there's no one widely adopted standard that works in all cases, you're left with a bunch of choices: What formats should you accept? How should you authenticate? Should your API be versioned?

In designing an API for SupportFu (Customer support software for SaaS & eCommerce), I've tried to come up with pragmatic answers to these questions. My goal is for the SupportFu API to be easy to use, easy to adopt and flexible enough to dogfood for our own user interfaces.
api  design  rest  how-to  padrão  boa_prática  inspiração  importante  trabalho  hateoas  restful  reference  tip  webservice 
december 2013 by rtopitt
Mailgun: Programmable Mail Servers
Mailgun is a set of powerful APIs that allow you to send, receive and track email effortlessly.
api  email  http  smtp  web2.0  rest  server  service  webservice 
september 2013 by rtopitt
intridea/grape · GitHub
Grape is a REST-like API micro-framework for Ruby. It's designed to run on Rack or complement existing web application frameworks such as Rails and Sinatra by providing a simple DSL to easily develop RESTful APIs. It has built-in support for common conventions, including multiple formats, subdomain/prefix restriction, content negotiation, versioning and much more.
api  framework  rails  rest  ruby  json  biblioteca  gem 
june 2013 by rtopitt
RequestBin — Collect and inspect HTTP requests, debug webhooks
RequestBin gives you a URL that will collect requests made to it and let you inspect them in a human-friendly way. Use RequestBin to see what your HTTP client is sending or to inspect and debug webhook requests.
http  curl  post  rest  requisição  resposta  teste  ferramenta  webservice  webapp  api  webhook 
april 2013 by rtopitt
httpbin(1): HTTP Client Testing Service
Testing an HTTP Library can become difficult sometimes. PostBin.org is fantastic for testing POST requests, but not much else. This exists to cover all kinds of HTTP scenarios. Additional endpoints are being considered (e.g. /deflate).

All endpoint responses are JSON-encoded.

Retorna como resposta os dados da requisição que você enviou.
http  https  rest  api  teste  resposta  requisição  utilidade  webapp  webservice  curl  ferramenta 
april 2013 by rtopitt
filtersquad/api_smith
To this end, Steve Webb and I wrote a library called ‘API Smith‘ – a simple tool set combining HTTParty and Hashie in a manner that we found was incredibly fast and powerful to prototype with. By combining several simple concepts together, API Smith aims to fulfill three basic requirements:

Converting API responses into Ruby objects should be a straight forward and simple process.
Extracting parts of a response shouldn’t be complex.
HTTP is your friend and should be simple.
api  cliente  ruby  protótipo  http  rest  gem 
april 2012 by rtopitt
SaaSmetrics.me
SaaSmetrics is the simplest and easiest way to know more about your SaaS and improve your business.
métrica  estatística  saas  api  rest  webapp  webservice  empresa  software  finanças  importante  inspiração  analysis  service 
october 2010 by rtopitt
Skinny daemons | Head Labs
In Skinny Daemons, Dave Hrycyszyn presents a practical walkthrough of how he builds what he calls "skinny daemons" - small, HTTP based daemons to perform single tasks that are then packaged up into gems for easy installation (across multiple servers, for example). It's a practical demonstration and holds your hand the whole way. Useful stuff. An example of a skinny daemon is enigmamachine, a video processor Web service using ffmpeg to convert videos to profiles of your choice.
importante  ruby  gem  how-to  daemon  http  webservice  sinatra  thin  eventmachine  rest  api  inspiração  tip 
august 2010 by rtopitt
API Anti-Patterns (how NOT to write a RESTful API) « Mike Pearce – blog
The talk was on API Anti-Patterns. I’d originally thought about doing a talk on How To Write a RESTful API, but the topic is enormous and sprawling and I only had 30 mins. So, I flipped the idea on it’s head and wrote about the things which we find with supposedly RESTful APIs which really aren’t RESTful. It’s shorter and, more importantly, funnier. So, below you’ll find the video and the slides from the night.
http  rest  api  webapp  boa_prática  anti_pattern  presentation  talk  video 
august 2010 by rtopitt
Rifgraf
Rifgraf is a fire-and-forget web service for displaying graphs of data collected over time. Post your data points periodically via rest calls. Then view a graph of the data at any time in the future.
webapp  heroku  sinatra  software_livre  gráfico  webservice  rest  estatística  inspiração 
july 2010 by rtopitt
PostBin - Debug web hooks
PostBin lets you debug web hooks by capturing and logging the asynchronous requests made when events happen. Make a PostBin and register the URL with a web hook provider. All POST requests to the URL are logged for you to see when you browse to that URL.
webservice  desenvolvimento  utilidade  post  http  log  teste  geek  importante  api  ferramenta  webapp  rest 
june 2010 by rtopitt
Riak - A Decentralized, Internet-Scale Data Store
Riak combines a decentralized key-value store, a flexible map/reduce engine, and a friendly HTTP/JSON query interface to provide a database ideally suited for Web applications.
http  rest  json  mapreduce  nosql  erlang  riak  distribuído  escalabilidade  software_livre  documento  database 
february 2010 by rtopitt
guilhermechapiewski/correios-api @ GitHub
correios-api é uma API para acessar informações de rastreamento de pacotes dos Correios. Você pode usar a API tanto como um uma RubyGem para projetos Ruby ou como um webservice REST para usar as informações em outras linguagens diferentes de Ruby.
ruby  api  rest  correios  gem  brasil  importante  encomenda  webservice  tracking 
february 2010 by rtopitt
Sinatra
Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
ruby  webapp  gem  framework  http  rest  sinatra  rack 
october 2009 by rtopitt
Apache CouchDB: The CouchDB Project
Apache CouchDB is a document-oriented database that can be queried and indexed in a MapReduce fashion using JavaScript. CouchDB also offers incremental replication with bi-directional conflict detection and resolution. CouchDB provides a RESTful JSON API than can be accessed from any environment that allows HTTP requests. There are myriad third-party client libraries that make this even easier from your programming language of choice. CouchDB’s built in Web administration console speaks directly to the database using HTTP requests issued from your browser.
couchdb  apache  erlang  rest  json  javascript  software_livre  database 
october 2009 by rtopitt
Get Your API Right « Trek
Constant exposure has turned me into a bit of a snob: I can’t stand working with a poorly designed API! If you’re about to design or release an API for the web and want to avoid the ire of your developers, I’ve summed up the best (and worst) of what I’ve seen into 8 rules.
regra  top10  api  webapp  rest  http  ruby  importante  webservice  tip  programming 
july 2009 by rtopitt
Sinatra Book - Versão em português
Versão em português do Sinatra Book que poderá servir como uma pequena referência para quem quer aprender algo sobre Sinatra.
documentação  framework  http  livro  manual  rest  ruby  sinatra  webapp 
may 2009 by rtopitt
howlr - Google Code
The Howlr daemon provides RESTful interface for sending outgoing messages. Messages are submitted via HTTP and dispatched to other protocols. Currently only email (SMTP and Sendmail) is supported, but other delivery methods (SMS, IM, etc.) are possible.
email  http  im  mensagem  rest  webapp  webservice 
may 2009 by rtopitt
ruby-taskr - Google Code
Taskr is a stand-alone HTTP daemon, providing a cron-like networked scheduling service. Tasks can be created and managed problematically via REST calls over HTTP allowing other REST-aware services to schedule and manage jobs, or manually via a nice web in
assíncrono  cron  http  queue  rest  tarefa  webapp  webservice 
may 2009 by rtopitt
It's an HTTParty and Everyone Is Invited! // RailsTips.org by John Nunemaker
So I’ve made a boatload of gems that consume web services. The other day I thought, wouldn’t it be nice if that pattern were wrapped up as a present for me (and others) to use? The answer is yes and it is named HTTParty.
artigo  cliente  gem  how-to  httparty  padrão  rest  ruby  webservice 
may 2009 by rtopitt
HTTParty by John Nunemaker
Gem para fazer a comunicação básica com webservices rest ou rest-like. Usar para criar clientes para webservices.
cliente  gem  http  httparty  rest  ruby  webservice 
may 2009 by rtopitt
Sinatra | Home
Sinatra is the easiest way to a Fast, RESTful, web-application in Ruby with few dependencies, setup, and LOC.
framework  http  rest  ruby  sinatra  webapp 
may 2009 by rtopitt
Blog.Impact Polymorphic resources, de uma forma DRY
Como fazer com que o controller de um recurso com associação polimórica a mais de um modelo saiba automaticamente com qual modelo-pai trabalhar
action_controller  active_record  edge  how-to  plugin  polimorfismo  rails  rest 
may 2009 by rtopitt
Craig Ambrose. respond_to.email, or how to handle incoming emails in rails RESTfully
There’s a bunch of information around on how to handle incoming emails with your rails application, in particular the wiki page, but I have some concerns with the methods that are being suggested, and in this article I present an alternative which I’v
email  how-to  postfix  rails  recebimento  rest 
may 2009 by rtopitt
How to install RESTful Authentication on a Ruby on Rails 2.0 application « CrazyRails ~ Flex on Ruby on Rails
It’s time to upgrade your Rails 2.0 application with user authentication, and we hear that RESTful Authentication is the way to go, but all the instructions out there are out of date or don’t completely work or only work on Rails 1.2.x.
2.0  autenticação  how-to  plugin  rails  rest 
may 2009 by rtopitt
rest-client, fetch RESTful resources effortlessly
A simple REST client for Ruby, inspired by the microframework (Camping, Sinatra…) style of specifying actions: get, put, post, delete.
documentação  dsl  gem  rdoc  rest  ruby  webservice 
may 2009 by rtopitt
Restful Authentication with all the bells and whistles (updated 2/21) - Rails Forum - Ruby on Rails Help and Discussion Forum
There's a lot of conflicting information and tutorials on restful authentication, and I wanted to share a complete tutorial to help others get started with an authentication system a little faster.
autenticação  how-to  openid  plugin  rails  rest  up-to-date 
may 2009 by rtopitt
QuarkRuby: ActiveResource and YouTube
This article is about consuming YouTube API in your Ruby/Rails project using ActiveResource. Moreover, this article is an example of how to extend ActiveResource to consume non rest-style API.
active_resource  api  how-to  rails  rest  ruby  youtube 
may 2009 by rtopitt
restful development
Apostila sobre desenvolvimento RESTful em Rails
apostila  artigo  download  pdf  rails  rest  webapp  programming 
may 2009 by rtopitt
Namespaces added to routes // RailsTips.org by John Nunemaker
Usando novos namespaces em Rails 2.0 para ter controllers RESTful separados entre parte pública e parte visível de uma app
2.0  admin  namespace  rails  rest  route  tip 
may 2009 by rtopitt
assert_buggy: How to upgrade Ruby on Rails Restful routes to 2.0
Mudança nos nomes dos arquivos gerados em nested restful routes em Rails 2.0
2.0  mudança  rails  rest  route  script  tip 
may 2009 by rtopitt
Swiftcore Wisteria - Super Fast Micro Framework For APIs and Upload Handling
Wisteria is an extremely fast event based web framework for Ruby, designed specifically for writing APIs (i.e. RESTful backends) and handling file uploads. Initial benchmarks put it at around 20000 requests/second in speed, and with the capacity to handle
api  framework  http  rest  ruby  upload 
may 2009 by rtopitt
vaporbase :: stateful authentication
Adicionando estados aos usuários, utilizando restful_authtentication e acts_as_state_machine
how-to  plugin  rails  rest  status  user 
may 2009 by rtopitt
Yahoo! Developer Network - Ruby Developer Center
If you've ever thought about combining Ruby with Yahoo!'s open APIs and Web services, read on.
api  how-to  json  plugin  rails  rest  ruby  xml  yahoo 
may 2009 by rtopitt
Depixelate — RESTful Product Tracker
The RESTful Product Tracker is a simple rails application I built to help people learn Rails. In particular this app should help introduce you to some RESTful techniques offered by Rails 1.2.
exemplo  rails  rest  webapp 
may 2009 by rtopitt
ProgrammableWeb - Mashups, APIs, and the Web as Platform
ProgrammableWeb is where you can keep-up with what's new and interesting with mashups, Web 2.0 APIs, and the new Web as Platform.
api  blog  mash-up  notícia  rest  soap  web  web2.0  webapp  programming 
may 2009 by rtopitt
Ariejan.net » Rails, Resources and Permalinks
Como usar permalinks em rails com rest (com plugin permalink_fu)
how-to  permalink  plugin  rails  rest 
may 2009 by rtopitt
ContactsAPI Welcome to ContactsAPI
ContactsAPI is a contact management web service, providing a REST API for basic contact management functionality. ContactsAPI is intended to be a building block for third party applications and services and does not provide it’s own graphical interface.
api  contato  rails  rest 
may 2009 by rtopitt

Copy this bookmark:





to read