Skip to main content

Python API Wrapper for the Airtable API

Project description

# Airtable Python Wrapper

[![Build Status](https://travis-ci.org/gtalarico/airtable-python-wrapper.svg?branch=master)](https://travis-ci.org/gtalarico/airtable-python-wrapper)
[![codecov](https://codecov.io/gh/gtalarico/airtable-python-wrapper/branch/master/graph/badge.svg)](https://codecov.io/gh/gtalarico/airtable-python-wrapper)
[![Documentation Status](https://readthedocs.org/projects/airtable-python-wrapper/badge/?version=latest)](http://airtable-python-wrapper.readthedocs.io/en/latest/?badge=latest)

Airtable API Client Wrapper for Python

![project-logo](https://github.com/gtalarico/airtable-python-wrapper/blob/master/docs/source/_static/logo.png)

## Installing

```
pip install airtable-python-wrapper
```

## Documentation

Full documentation here:

http://airtable-python-wrapper.readthedocs.io/

### Usage Example

Below are some of the methods available in the wrapper.

For the full list and documentation visit the [docs](http://airtable-python-wrapper.readthedocs.io/)

You can see the wrapper in action in this [Jupyter Notebook](https://github.com/gtalarico/airtable-python-wrapper/blob/master/Airtable.ipynb).

```
airtable = Airtable('baseKey', 'table_name')

airtable.get_all(view='MyView', maxRecords=20)

airtable.insert({'Name': 'Brian'})

airtable.search('Name', 'Tom')

airtable.update_by_field('Name', 'Tom', {'Phone': '1234-4445'})

airtable.delete_by_field('Name', 'Tom')

```

## License
[MIT](https://opensource.org/licenses/MIT)

## Requires
* requests
* six

#### Requirements [Testing + Docs]
* pytest
* pytest-ordering
* pytest-cov
* coverage
* sphinx
* sphinxcontrib-napoleon


# 0.11.1
* Feature: Merged PR#17 - Added typecast to update, update_by_field, replace, replace_by_field

# 0.10.1
* Feature: Added typcase option to batch_insert

# 0.10.0
* Feature: Merged PR#17 - typecase kwarg

# 0.9.1
* Feature: Better exception message for 422 (Issue #16)
* Fix: 2.7 Compat with sys.implementation

# 0.9.0
* Docs: Revised Docs strings to show kebab case kwargs
* Fix: Url Escape (PR#1)

# 0.8.0
* Docs: New Documentation on Parameter filters Docs
* Docs: More documentation and examples.
* Feature: Search now uses filterByFormula
* Added Formula Generator

# 0.7.3
* Removed Unencoded Debug Msg due to IronPython Bug #242

# 0.7.2
* Merge Fix

# 0.7.1-alpha
* Moved version to sep file to fix setup.py error
* Removed urlencode import
* Added Explicit Raise for 422 errors with Decoded Urls

# 0.7.0-dev1
* Feature: Added airtable.get() method to retrieve record
* Fix: sort/field string input to allow sting or list
* Fix: AirtableAuth Docs
* Fix: Keyargs Docs

# 0.6.1-dev1
* Bugfix: Fix Setup to install six.py
* Bugfix: Fix AitableAuth Docs

# 0.6.0-dev1
* Implemented Sort Filter
* Implemented FilterByFormula
* Implemented all param filters as classes
* Added Aliases for Parameters
* Renamed get() to get_iter()

# 0.5.0-dev1

# 0.4.0
* Added replace()
* Added mirror()

# 0.3.0
* Initial Work


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airtable_python_wrapper-0.11.0-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file airtable_python_wrapper-0.11.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for airtable_python_wrapper-0.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9c0c6dec565147aa23b143b3eff7b7db9c47281aad96cb29f6f3e1b62c44384e
MD5 c041570f0d920efa37ee242728d80fdc
BLAKE2b-256 72781e9963527aa15291d5a3ce7839b264da110838363a14f8b13b1bccf86a78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page