Skip to main content

A python package for scraping cvpartner api

Project description

CVPartner scraper

This is a package for scraping the cvpartner api

Getting started

Once this is in the package index: $ pip install cvpartnerpy

Usage

The package has support for getting user metadata and CVs attached to users. This can be used to scrape out all user CVs from the api:

cvp = CVPartner(org='myorg', api_key=os.environ['CVPARTNER_API_KEY'])

with open('user.ndjson', 'w') as f:
  for u in cvp.get_users_from_api():
      user_id = u['user_id']
      cv_id = u['default_cv_id']
      user_cv = cvp.get_user_cv(user_id, cv_id)
      f.write(json.dumps(user_cv))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cvpartnerpy-0.0.4.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

cvpartnerpy-0.0.4-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page