Skip to main content

The official python client library for Venturocket's API

Project description

venturocket-api-python

The official python client library for Venturocket’s API.

Dependencies

This client library uses requests for its HTTP needs. If venturocket is installed via pip, requests should be installed automatically.

Usage

Installation

$ pip install venturocket

Making API Calls

Initialize the client

from venturocket import Venturocket, Listing
venturocket = Venturocket("your-api-key", "your-api-secret")

Keyword calls

# retrieve validity and synonym data for a specific keyword
keyword = venturocket.keyword.get_keyword("php")

# retrieve keyword suggestions based on one or more provided keywords
suggestions = venturocket.keyword.get_suggestions("php", "python", "java")

# parse valid keywords from raw text
text = "We are looking for rock star web developer with expertise in Javascript and PHP."
keywords = venturocket.keyword.parse_keywords(text)

Listing calls

# create a listing
listing = Listing("a_user_id", "provider", "Your headline here!")
listing.add_keyword("php", 400, 102)
listing.add_location("94105")
listing.add_listing_type("full-time")

listing_id = venturocket.listing.create_listing(listing)

# retrieve a listing
retrieved_listing = venturocket.listing.get_listing(listing_id)

# update a listing
retrieved_listing['userType'] = "seeker"
venturocket.listing.update_listing(listing_id, retrieved_listing)

# disable a listing
venturocket.listing.disable_listing(listing_id)

# enable a listing
venturocket.litsing.enable_listing(listing_id)

# retrieve matches for a listing
matches = venturocket.listing.get_matches(listing_id)

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

venturocket-1.0.0.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file venturocket-1.0.0.tar.gz.

File metadata

File hashes

Hashes for venturocket-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2d3b6f119b44ffdb0c3526bc400869281a260ba30ffd2a19f0b4bc335c192f61
MD5 b86e894c4e7d0115e390518bfefc4356
BLAKE2b-256 f40cd7fcbe0bb2095d1d6e87c5ae1345f5727581937b334811d9064c6ae06322

See more details on using hashes here.

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