Skip to content

Python utility for scraping accounting codes from the Controller's Office Intranet

Notifications You must be signed in to change notification settings

cityofaustin/atd-finance-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python utility for scraping accounting codes from the Controller's Office Intranet

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages