Grape Client

Simple access from your client to Grape APIs. Automatically supports: kaminari pagination, network access cache, nested objects, http basic authentication.
Alternatives To Grape Client
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Octokit.rb3,76436,2266653 days ago129September 14, 202260mitRuby
Ruby toolkit for the GitHub API
Tall1,9061a month ago24March 13, 20227mitBlade
A TALL (Tailwind CSS, Alpine.js, Laravel and Livewire) Preset for Laravel
Robinhood1,453
3 years agounlicense
Unofficial Documentation of Robinhood Trade's Private API
Larapi400
2 years ago27mitPHP
An API-friendly fork of Laravel. Authentication, error handling, resource filtering, sorting, pagination and much more included
Trakt.tv1318717a month ago32October 23, 2021JavaScript
A Trakt.tv API wrapper for Node.js
Registration Login And Crud Action Using Mern Stack116
8 days agogpl-3.0JavaScript
:high_brightness: :leaves: Nodejs(Express.js) + mongoDB + mongoose + JWT + react.js + material-ui + axios(API call)
Ember Cli Blog88
2 years agon,ullJavaScript
Tom Dale's blog example updated for the Ember CLI
Swagql46
2 years ago21October 25, 20214bsd-3-clauseJavaScript
Create a GraphQL schema from swagger spec
Blogging App With Angular Cloudfirestore44
4 months ago14mitTypeScript
A blogging application created with the help of Angular on front-end and Google Cloud Firestore on backend.
Hackeroni37
6 years ago9mitGo
A Go API client for HackerOne (api.hackerone.com)
Alternatives To Grape Client
Select To Compare


Alternative Project Comparisons
Readme

GrapeClient

Gem Version Build Status Code Climate Test Coverage

Simple access from your client to Grape APIs. Automatically supports: kaminari pagination, network access cache, nested objects, http basic authentication.

Installation

Add this line to your application's Gemfile:

gem 'grape-client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install grape-client

Usage

class User < GrapeClient::Base
  self.site     = 'http://localhost:3000'
  self.user     = 'user'
  self.password = 'password'
  self.prefix   = '/api/v1/'

  attr_accessor :id, :email
end

u = User.create(email: '[email protected]mple.com')
u.email = '[email protected]'
u.save!
u.reload

u = User.find(2)
u.destroy

User.all.each do |user|
  ...
end

Contributing

  1. Fork it ( https://github.com/desofto/grape-client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Popular Authentication Projects
Popular Pagination Projects
Popular Security Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Ruby
Authentication
Pagination
Grape