/bandsaw

A Python package for retrieving and processing Basis Band data.

Primary LanguagePythonMIT LicenseMIT

NOTE: I am no longer maintaining this code; I no longer have a Basis Band.

bandsaw

A Python module for retrieving Basis Band data from the Basis website. It retrieves data from a date range and stores that data in a CSV file.

##Using Bandsaw ###Option 1

import bandsaw

create_csv()
for data in get_data('BASIS USER ID GOES HERE', datetime.datetime(2013, 8, 13), datetime.datetime(2013, 8, 28)):
  append_to_csv(data)

###Option 2 Edit the if __name__ == '__main__': section of bandsaw.py so that 'BASIS USER ID GOES HERE' is replaced with your user ID. Then, just run:

python bandsaw.py

##Finding your Basis user ID See instructions in the README for btroia's PHP-based basis-data-export project.