airtable-api-0.2.0.0: Requesting and introspecting Tables within an Airtable project.

Safe HaskellNone
LanguageHaskell2010

Airtable.Query

Contents

Synopsis

Documentation

Configuration for Airtable requests.

data AirtableOptions Source #

Options

Constructors

AirtableOptions 

Fields

  • apiKey :: String

    the API key for your project

  • appId :: String

    the app ID for your project (http://api.airtable.com/v0/app...)

  • apiVersion :: Int

    api version (http://api.airtable.com/v../...)

defaultAirtableOptions :: AirtableOptions Source #

Airtable options defaulting to API version 0. Please change the apiKey and appId fields.

Main API

getTable :: FromJSON a => AirtableOptions -> TableName -> IO (Table a) Source #

Retrieve a table from airtable.com given its name. Handles pagination correctly.