nateleavitt / infusionsoft

Ruby Gem for the Infusionsoft API
MIT License
58 stars 70 forks source link

Missing examples in README #79

Open partydrone opened 3 years ago

partydrone commented 3 years ago

With the introduction of OAuth2 and REST support, it would be nice to see an example of:

  1. How to fetch the access token "on your own," as you say.
  2. How to instantiate and make a call to the REST API.
partydrone commented 3 years ago

I currently work with a legacy Rails application that makes calls to the Infusionsoft API. The implementation was poorly done and I want to replace everything with this gem. The OAauth2 tokens are currently stored in and retrieved from the app database. It would be nice to see an example of how you authenticate your gem against Infusionsoft in a Rails app.

nateleavitt commented 3 years ago

Hi @partydrone.. I will add example. It currently is supported, but is not documented.

EDIT: needing to do this still

moklokov commented 4 months ago

@nateleavitt Can you write example how to switch to rest api and use it? thanks