Couldn’t see the sheep’s eyes and couldn’t remember if the pupils are horizontal or vertical, so it got both. ✨
We’re working on a new site for SB-PH at the moment, and we’re using Airtable to get our project documentation together. It’s also a good opportunity to test the platform a little (+ I’m a fan of tables). To grab tidy JSON for use with data-friendly design software like Sketch, we’re using the Airtable API with cURL and ./jq.
Simple example that dumps table records in to a JSON file for use with the the Sketch Data Populator plugin:
$ curl https://api.airtable.com/v0/YOUR_BASE_KEY/YOUR_TABLE_NAME -H "Authorization: Bearer YOUR_API_KEY" | jq '.records' > records.json
Sunnier times and climes.