Project

tilda-api

0.0
No commit activity in last 3 years
No release in over 3 years
Tilda API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

 Project Readme

tilda-api

  • Code Climate
  • Test Coverage
  • Dependency Status
  • Gem Version
  • Releases
  • Tags
  • Downloads
  • security
  • Build
  • License
  • Version

Tilda::Api

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'tilda-api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tilda-api

Usage

Configuration api:

  Tilda::Api.configure do |config|
    config.public_key = "your-public-key"
    config.secret_key = "your-secret-key"
    config.api_version = "v1"
  end
  tilda_api = Tilda::Api::Request.new 
  #tilda_api = Tilda::Api::Request.new(public_key: "your-public-key", secret_key: "your-secret-key")
  tilda_api.get_projects_list
  tilda_api.get_project(project_id)
  tilda_api.get_project_export(project_id)
  tilda_api.get_pages_list(project_id)
  tilda_api.get_page(page_id)
  tilda_api.get_page_full(page_id)
  tilda_api.get_page_export(page_id)
  tilda_api.get_page_full_export(page_id)

Contributing

  1. Fork it ( https://github.com/[my-github-username]/tilda-api/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