Metadata-Version: 2.1
Name: troopwebhost-download
Version: 0.1.2
Summary: Retrieve CSV files from Troopwebhost
Author-email: Michael Perkins <perkinsms@gmail.com>
Maintainer-email: Michael Perkins <perkinsms@gmail.com>
License: MIT License
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >3.9
Requires-Dist: python-dotenv
Requires-Dist: requests
Requires-Dist: toml~=0.10
Description-Content-Type: text/markdown

# troopwebhost-downloader

Downloads the troopwebhost files needed to feed into flask-troop

Instructions:

copy .env.example to .env

change .env to be user-readable only (chmod go-r .env)

log in to troopwebhost and inspect the page, look at the cookies and find the value for the cookie stored with "application_ID"

edit .env to use your username and password and your application_ID for your troop

run export.py


resulting csv files will be in output/
