In order to find your Base ID, first click on the Airtable API documentation link next to your API Key.You can also Google "Airtable API documentation." (You will need to log in to Airtable if you aren't already.) Next, select the base you'd like to access.Pull the Base ID from the example URL they give in the introduction to the base you chose.(It's the value between / / and looks like apphXmBxHuxynZ2Kf) The first place you can find it is at the end of the example URL. For example, this one is called Design Projects (just remove the %20).Another place to find the Base Name is on the left side of the API documentation (just remove the "TABLE" from the name).Populate these values into the respective fields in Grow and hit "Get Data".Now you add any transforms to your Airtable data and build your metrics! EndpointsĪirtable’s graphical interface provides the ability to create custom databases, or “bases”. Before a base is pulled into Grow it can be organized specifically to the nature of the metric or metrics desired. This provides a highly personalized and focused reporting experience in Grow. If you have fields that are coming in as a series of Id numbers instead of actual values (like names), that's because you are linking that data to other fields in Airtable. This works great in Airtable, but we can't get those actual values in Grow- It will only come in as the ID numbers.In this section, let's populate a Fetch component with all the data from a simple Airtable Base and then display the data fetched from the Airtable in a List component.įor reference, here is a how the Components tree looks like for this screen: #AIRTABLE SIGN IN SERIES# Open the API & Cloud Services modal, select the Airtable service, and then: Let's try fetching the data using a GET HTTP request. In Step 1: enter the name for the endpoint. Set the Role to Get Many as the endpoint is fetching a list of items.Set the Object Type to groceries for this example. In Step 2: add the base name path: /your-base-name.In Step 4: click the Test button next to the Endpoint input to verify the response coming from the Airtable Base.Select the Fetch component in the Components tree and go to the Data tab from Properties Panel.For Service, select the name of the Airtable Service.For Endpoint, select the endpoint you want to fetch the data from.Select the List component in the Components tree and go to the Data tab from Properties Panel.In Data, select records from the dropdown menu.Then, select the Text component in the Components tree and then go to the Data tab from the Properties Panel.In your app, you will have to pass the id of a single record, for example, as a navigation parameter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |