A bulk loader for JSON datasets and snapshots
Using either the weekly Public Datasets or a custom subscriber bulk-load snapshot, this script will extract the contents of the archive and import/update data as needed.
example.zip but do not import, only show what would have been done.
php legiscan-bulk.php --dry-run example.zip
Process and load
php legiscan-bulk.php example.zip
NOTE: This will not pull local copies of documents unless they are included in the archive, though appropriate stub records will be created.
Copyright: 2010-2018 LegiScan LLC
Author: LegiScan API Team firstname.lastname@example.org
Located at legiscan-bulk.php