dlindahl / frenetic Goto Github PK
View Code? Open in Web Editor NEWA Ruby-based Hypermedia API client.
Home Page: http://dlindahl.github.com/frenetic/
License: MIT License
A Ruby-based Hypermedia API client.
Home Page: http://dlindahl.github.com/frenetic/
License: MIT License
Currently, if the call to api.description
fails, API clients trying to fetch a URL from the list of Hypermedia links fail with the above error.
Frenetic should throw a more useful error message when this occurs.
The README says that "should be wrapped in "_embedded"
and "order"
keys", but I don't see why that's the case. Where does Hal say that the resource should be wrapped that way?
It seems there is currently no way to authenticate using oauth tokens.
For this to work a header needs to be set:
Authorization: Bearer someOAuthToken
Maybe there could be another authentication option api_bearer: "someOAuthToken"
to set this?
The readme mentions support for "GET, POST, PUT, PATCH, and DELETE", but when I try to issue a patch, I get the following error:
NoMethodError: undefined method `patch' for #<Frenetic:0x007fdc2cb7f240>>
Using frenetic 0.0.12 with faraday 0.8.8 (both are the latest versions at the time of writing).
For example, if the API responds with a 404, make sure that subsequent queries will re-request the API description
Ensure that the SSL verification configuration options actually work with Patron.
See also: http://patron.rubyforge.org/
Hi
I've had a quick look at the source and I can't see a nice way to hook in another Faraday middleware. I am trying to write a hypermedia api using hmac as the authentication mechanism and I am use the warden-hmac gem strategy. This gem includes a Faraday middleware for signing requests. I would like to use Faraday/Frenetic to test the api. The yield block on the Frenetic class initializer is used to configure the Faraday config variable so I cant use this.
Jon
Trying to find out where your "find_by_name" example is getting search_url from in the README. Would love some documentation around doing these sorts of one-off find_by
methods.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.