Giter Site home page Giter Site logo

webflow-ruby's Introduction

Webflow Build Status

Installation

Add this line to your application's Gemfile:

gem 'webflow-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install webflow-ruby

Usage

Have a look at the tests, seriously!

Quick Start

client = Webflow::Client.new(WEBFLOW_API_TOKEN)
sites = client.sites

Todo

  • Resource mapping, it's plain hashes for now
  • Proper docs (please look at the tests for now)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/penseo/webflow-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Plugins

  • webflow_sync - Keep Rails models in sync with WebFlow collections.

License

The gem is available as open source under the terms of the MIT License.

webflow-ruby's People

Contributors

cohesiveneal avatar dependabot[bot] avatar emilesilvis avatar mateuscruz avatar phoet avatar sega avatar seigel avatar ukd1 avatar vfonic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

webflow-ruby's Issues

Version bump?

hey @phoet - could you please release a new version w/ the pagination changes in place? thanks!

Unable to update _draft with 1.2.0

Hi All,

I just updated from 1.1.0 to 1.2.0 and it seems that I can no longer update the _draft attribute of my items from true to false. Does anyone have any pointers on what I'm doing wrong?

Let consumers of the gem handle pagination

Currently the gem paginates for you, often leading to the rate limit being hit and difficult-to-handle exceptions being thrown. While I think it's good to introduce an exception for when the rate limit is hit, I also think that pagination should be left up to the consumer of the gem (as mentioned here).

That way, we don't end up with being half-way through iterating through a collection and then getting the RateLimitError thrown. Plus, then it's a more faithful mirroring of the actual RESTful API.

Thoughts?

We've built WebflowSync on top of webflow-ruby!

Hey @phoet!

Thank you for creating webflow-ruby!

Just wanted to let you know that @stankovicjovana, @markokacanski and I built webflow_sync gem that syncs Rails models to WebFlow. The gem has been developed over the past couple of days, but we plan to keep adding new features and using it in live webapp soon.

I'd be curious to hear your thoughts, especially if you need a similar functionality.

Thanks!
Viktor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.