Airtable / airtable.js

Airtable javascript client
MIT License
1.97k stars 400 forks source link

Field Types #67

Open Davidcamsan opened 6 years ago

Davidcamsan commented 6 years ago

Hi, is there a way to access the field types of each column? I need all except those with formulas. I am currently using Node.js

EvanHahn commented 6 years ago

We don't currently have a way to do this, but we'll leave this issue open in case we add it in the future.

janzheng commented 5 years ago

As a way to get around this, I have a "controller" table that stores metadata about the other tables, like field types for column and other things. It's a little bit more manual work but it works for my needs

domdomegg commented 4 months ago

FYI I made a wrapper around the airtable library that's called airtable-ts that enables you to use the field types in your code (and gives you clear runtime errors if people edit tables and things no longer line up).

There's also the Airtable base schema API: https://airtable.com/developers/web/api/get-base-schema