Scaretable
this gem is a place for me to stash my less-than-legitimate Airtable tricks. as of now it's just CSV export, but surely more will follow given the limited nature of this blessed platform's publicly documented API surface.
you have the "i'll probably fix this when Airtable breaks it" guarantee (tbc only valid for as long as i'm working in codebases that need this functionality)
Installation
install the gem and add to the application's Gemfile by executing:
bundle add scaretable
if bundler is not being used to manage dependencies, install the gem by executing:
gem install scaretable
Usage
i wouldn't....
anyway, call Scaretable.get_csv("appfymsBOQvUDVDrn", "shrEcl5zKeqmzNKXG", "viw6pc5plZ0r1oZTS")
for a CSV.
if you don't specify a view ID, it'll figure it out.
get_csv_url
is also available if you want to download it yourself.
Development
are you sure?
after checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. you can also run bin/console
for an interactive prompt that will allow you to experiment.
to install this gem onto your local machine, run bundle exec rake install
. to release a new version, bump version.rb and push to main, preferably without running the test suite first.
Contributing
PRs welcome! bug reports also welcome, but slightly less so. this repo lives at https://github.com/24c02/scaretable.
License
lol as if