Skip to main content

A Python API for the Middlebury directory.

Project description

https://travis-ci.org/coursereviews/directory.svg?branch=master

A Python API for the Middlebury directory.

from directory import search

search(email="dsilver@middlebury.edu")
# [<Person 30972781062F9A6167A8D944F82CFD64>]

Advanced Usage

For raw access to validation and search fields, and control over when the HTTP requests are sent, use the Search class. The Search class can be initialized with any of the arguments to the search method.

from directory import Search

# Construct a search object
query = Search('Dana Silver')

# Validate the search
query.validate()

# Get the search fields (makes an HTTP request for form parameters)
query.search_fields()

# Get the search results (makes HTTP requests for the search results)
query.results()

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

middlebury-directory-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

middlebury_directory-1.0.0-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file middlebury-directory-1.0.0.tar.gz.

File metadata

File hashes

Hashes for middlebury-directory-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6022d918114555e06003712ece07692e63bc21eac665b3eb465e666c315d834c
MD5 b77d67eb7409751e9a0b44eeb62a06fc
BLAKE2b-256 3289dfef886a1dba4b2c8cd85a31105bff67aee948452788dd742fbd2b5dee23

See more details on using hashes here.

File details

Details for the file middlebury_directory-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for middlebury_directory-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3d12a3e7389ae7ca55952ef127c06cfb8d6f36c6ca1b1a38c787b815ff44ac97
MD5 6fd24f18de4df3eb36d397b8ec71f71d
BLAKE2b-256 9613d036a1d16182679d49a0b86e455220995b9c4530c1e5e2e96ec7949a9a68

See more details on using hashes here.

Supported by

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