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
Release history Release notifications | RSS feed
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.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for cvpartnerpy-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e2b26bdf7b655495822fb6a8691dc3db7f80a5f3d5588fa7dbf4c53e1c5c27 |
|
MD5 | 6a73cbdffcdc62a26094f97b29404cfd |
|
BLAKE2b-256 | d8624c35c2eaf81f642731be350fc17d3066b2d7ce86b85fefdeaf039e76caec |