Simple wrapper for crawling jobs data at Stack Overflow Jobs portal.
Project description
stackoverflow-jobs
Simple wrapper for crawling jobs data at Stack Overflow Jobs portal.
Basic usage
Creating a query is pretty straightforward:
from stackoverflow_jobs.query import Query
q = Query()
All query filters are available inside filters
module. In case you want to
add new filters, all you need to do is to append them to the Query
object:
from stackoverflow_jobs.query import Query
from stackoverflow_jobs.filters import Role, Remote, Description
q = Query() \
+ Description("Android Developer") \
+ Remote() \
+ Role([Role.Type.MOBILE])
After you build your query, call execute()
to fetch the data:
data = q.execute()
Important note: The library queries Stack Overflow Jobs RSS feed. This means that you need to parse the XML afterwards.
You can also retrieve the query URL using build_query()
method, in case you
need to:
q.build_query()
>>> 'https://stackoverflow.com/jobs/feed?q=Android+Developer&r=true&dr=MobileDeveloper'
Installing
stackoverflow-jobs
is available in pypi repository:
pip install stackoverflow-jobs
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
Built Distribution
Hashes for stackoverflow_jobs-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 085b4706caa6748d01b6e9a3dbcc915c6029f9c36e3ce853acc13e9c24612051 |
|
MD5 | 101330b5879ba922e6e028ef42f609a8 |
|
BLAKE2b-256 | 64e3bf17ba485f600c7de0713de1fe239d987a0961f4196f7b59b148d53b896f |