KsMyVoteInfo Python module makes it easy to search the Kansas SOS voter registration site for the registrant details. You supply first/last name and date of birth, this gem looks it up and return the HTML snippet from the site.
Scrapes the https://kansasvoterinfo.gov/VoterView site.
import ksmyvoteinfo
kmvi = ksmyvoteinfo.KsMyVoteInfo()
r = kmvi.lookup(first_name='No', last_name='Suchperson', dob='1966-03-26')
if r:
print(r.parsed()[0]['tree'])
else:
print("Sorry, No Suchperson is not registered")% pyenv virtualenv 3.12.3 ksmyvoteinfo-3.12
% echo ksmyvoteinfo-3.12 > .python-version
% make deps
% make build
% make test
% make distcheck
% make dist
% make install
MIT license.
Copyright 2018 Blueprint Kansas