API call for CSV file


#1

I’m new to Airtable. I’m trying to fetch data from the CSV file and populate a content box.

Trying to fetch data doing AJAX call. In google spreadsheet it’s pretty simple.
var URL = spreadsheetsgooglecomfeedslist"+Yourkey+"defaultpublicvalues?alt=json
url:URL
method:“GET”,
crossdomain:true,
success:function(data){
var eventsData = data.feed.entry;

My question is how can you get the URL for the CSV file you created in airtable.


#2

You can not programmatically get the URL for the CSV file directly.

But you can access the data in your base via the Airtable API.
The Airtable API is REST based so you should be able to use it in almost any programming language out there.