The Stripe Ruby Library by Stripe is a REST resource. The library API is designed for predictable, resource-oriented URLs and HTTP response codes to indicate API errors. Further, it aims to support the built-in HTTP features, like HTTP authentication and HTTP verbs with off-the-shelf HTTP clients, and the support cross-origin resource sharing to allow interaction with the API from a client-side web application. The returns are in JSON, including errors.
CityDeals.com, local/national deal and discount finder, enables developers to access its deals database via the CityDeals API. Third party apps can feature daily deals and discounts, or provide a searchable interface of CityDeals.com's entire portfolio of discounts. CityDeals.com partners with retailers and service providers around the globe to provide an expansive offer of discounts applicable on a national scale or at the local level.