selner / scooper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Scooper Bulk export Crunchbase, Moz Quantcast data to comma-separated value (CSV) files using either the command-line or a list of records from an input file. Very handy for doing research about competitors or potential partners.

###With Scooper You Can Easily Export Company Data to CSV by:

  • a single company's information using their name
  • a single company's information using their website URL
  • many companies by name in bulk
  • many companies by website address in bulk

You can even bulk export the data returned from any Crunchbase API call. Scooper has been updated to use only the new Crunchbase V2 APIs.

##Run-Time Requirements

  • If you want to export Crunchbase data, Scooper requires you to set the user_key from a Crunchbase API account.
  • If you want to export Moz.com data, Scooper requires a Moz API Access ID and secret key from a Moz.com API account.

You can specify those values via an INI file with the -ini flag or directly on the command line wtih the -mozid, -mozkey and -cbid switches.

###Parameters:

  • --lookup-name, -ln : The name of the company to lookup.

  • --lookup-url, -lu : The website URL for the company to lookup.

  • --crunchbase_api_url, -cb : The Crunchbase API call to export to CSV

  • --inputfile, -i : Full file path of the CSV file to use as the input data for batch company name or company website lookups

  • --exclude-moz, -em : Exclude Moz.com data from the final result set.

  • --exclude-quantcast, -eq : Exclude Quantcast.com uniq visitors data in the final result set.

  • --exclude-crunchbase, -ec : Exclude TechCrunch's Crunchbase data in the final result set.

  • --moz-access-id, -mozid : Your Moz.com API access ID value. If you do not have one, Moz data will be excluded. Learn more at [http://moz.com/products/api].

  • --moz-secret-key, -mozkey : Your Moz.com API secret key value. If you do not have one, Moz data will be excluded. Learn more at [http://moz.com/products/api].

  • --crunchbase-api-id, -cbid : Your Crunchbase API key value. If you do not have one, Crunchbase data will be excluded. Learn more at [http://developer.crunchbase.com].

  • --verbose, -v : Show debug statements and other information.

  • --verbose-api-calls, -va : Show API calls in verbose mode.

  • --help, -h: Display this help banner

###Input File Format for Batch Lookups With the -i switch, you can specify a list of names or URLs to look up in batch.

Input CSV File Format:

Input CSV FIle Example: Names

     "Company Name", "Company URL"
     "Apple", "http://www.apple.com"
     "Microsoft", "www.microsoft.com"
     "Google", "google.com"

Input CSV FIle Example: URLs

     "URL"
     "http://www.apple.com"
     "www.microsoft.com"
     "google.com"

Example files are available in the /example directory.

If your Input CSV file has additional columns, those values will be copied into the resulting rows for each company as well.

#Other Stuff

##License This product is licensed under the GPL (http://www.gnu.org/copyleft/gpl.html). It comes with no warranty, expressed or implied.

About

License:GNU General Public License v2.0


Languages

Language:PHP 100.0%Language:Shell 0.0%