Python wrapper for Float Api
Lately I have been working on a python wrapper for the API of the project and schedule management service at www.float.com.
The wrapper supports most of the Float API at this point. The source code as well as a longer description is available on github.
There is a package available on PyPI which allows for easy install with the Python package manager pip using the following command: pip install float-api
To access the API, you need to get an access token from your Float account settings page.
Here is an example of getting all the people-objects from a Float account.
# Import the API wrapper from float_api import FloatAPI # Instantiate API object api = FloatAPI(YOUR_SECRET_ACCESS_TOKEN) # Get a list of all people people = api.get_all_people() # Print all the people entries for p in people: print(p)