codeforamerica / ohana-pdf

Generator for PDFs from the Ohana API
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Use Ohanakapa-ruby to interact with Ohana API #3

Open anselmbradford opened 11 years ago

anselmbradford commented 11 years ago

Migrate interaction with the API to use the Ohanakapa API wrapper at https://github.com/codeforamerica/ohanakapa-ruby

rebyn commented 11 years ago

Ouch, should have checked this wrapper out :-(.

anselmbradford commented 11 years ago

It's pretty new! Sorry not to mention it earlier. We're building based on the Octokit wrapper (https://github.com/octokit/octokit.rb), but it's early stage so welcome any feedback.

monfresh commented 11 years ago

I would hold off on using the wrapper for now. It's still being developed, as is the API. We're still implementing the developer portal that will allow developers to register applications that will use the API.

rebyn commented 11 years ago

Agree. I'd develop the api2pdf gem in a more general approach, being friendly to all kinds of JSON instead of tailoring it down the Ohana's one right now. Do you happen to know any gem on the market that solves this problem already (save JSON as PDF)?