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.4.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file cvpartnerpy-0.0.4.tar.gz
.
File metadata
- Download URL: cvpartnerpy-0.0.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6320bef34105dac800537f2e6914cf302e8486f75886a86c1f9c978584ae448d |
|
MD5 | fca3ae91c7dc944b9c8dfb39e3b872ae |
|
BLAKE2b-256 | a019ab42286b663b8cf7de791eb60694e47c6958724e07666c71c15facf7eabb |
File details
Details for the file cvpartnerpy-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: cvpartnerpy-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 865e7b2a4185b59815e35931def2e3ece8599e66fdc31d607f14175b91519b74 |
|
MD5 | fbf52ae07c2f9a59fcf7e68343f0ab36 |
|
BLAKE2b-256 | 76435ff38967c605d8beeba1f9e37c2783cb52c017788903eadbf3c9b3893cc8 |