Via PHP & cURL, this lists out all google numbers for a certain area code. Obviously you'll need a google voice account.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
google-voice-number-lister.php