This repository has been archived by the owner. It is now read-only.

airtable

airtable

Crystal bindings to the Airtable API.

⚠️ This shard is no longer maintained. ⚠️

Installation

Add this to your application's shard.yml:

dependencies:
  airtable:
    github: t-richards/airtable

Usage

require "airtable"

db = Airtable::Base.new(
  api_key: ENV["AIRTABLE_API_KEY"],
  base: "appNNNNN" # human readable database name here
)
table = db.table("TableName")

record = Airtable::Record.new({
  "Name"        => "New record thing",
  "Description" => "This record was created by the API",
})
result = table.create(record)

pp result

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/t-richards/airtable/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

Contributors

Repository

airtable

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 0
  • over 2 years ago
  • April 6, 2018
License

MIT License

Links
Synced at

Fri, 22 Nov 2024 15:43:35 GMT

Languages