Skip to content
Python utility for scraping accounting codes from the Controller's Office Intranet
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.gitignore
README.md
config.py
finance_scraper.py
utils.py

README.md

finance-scraper

This repo houses Python utilities for scraping accounting codes from the Controller's Office Intranet for the purpose systems integration.

Quick Start

Requires Python 3. We currently support fetching of objects, units, or master agreements from the Controller's Office Intranet website. If you know what these are, you've come to the right place.

  1. Install transportation-data-utils and knackpy from PyPi:
$ pip install tdutils
  1. Create secrets.py in the root folder:
KNACK_CREDENTIALS = {
    "my_destination_app_name" : {
        "app_id" : "knack-assigned-app-id",
        "api_key" : "secretest-key-ever"
    }
}
  1. Update config.py with your Knack scene, view, and reference objects (see knackpy docs).

  2. Pass a resource name and app name to the scripts:

$ python finance_scraper.py master_agreements my_destination_app_name
You can’t perform that action at this time.