A Python wrapper around the Fluidsurveys API.
This library provides a pure Python interface for the FluidSurveys API. It works with Python versions from 2 and 3.
From source:
Use pip
to install dependencies:
$ pip install -r requirements.txt
Clone the latest fluidsurveys-python
library from Github:
$ git clone https://github.com/fluidware/fluidsurveys-python.git
$ cd fluidsurveys-python
Extract the source distribution and run:
$ python setup.py build
$ python setup.py install
Testing
With setuptools installed:
$ python setup.py test
View the last release API documentation at: FluidSurveys API
The library provides a Python wrapper around the Fluidsurveys API and the Fluidsurveys data model.
import fluidsurveys
billy = fluidsurveys.Contact.retrieve(2)
billy.name
u'billy'
billy.name = "Billy Bob"
billy.save()
<Contact at 0x7fbf48c4cdc0> JSON: {
"contact_uri": "http://fluidsurveys.dev:8000/api/v3/contacts/2/",
"email": "face@time.com",
"id": 2,
"name": "Billy bob",
"unsubscribed": false
}