Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mplewis/search-umn
Search the UMN People Directory (search.umn.edu) using a Python API.
https://github.com/mplewis/search-umn
Last synced: about 2 months ago
JSON representation
Search the UMN People Directory (search.umn.edu) using a Python API.
- Host: GitHub
- URL: https://github.com/mplewis/search-umn
- Owner: mplewis
- License: mit
- Created: 2013-09-18T18:43:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-01T21:03:30.000Z (about 10 years ago)
- Last Synced: 2024-04-13T04:56:10.082Z (9 months ago)
- Language: Python
- Size: 203 KB
- Stars: 6
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
search-umn
==========#Purpose
To search the [UMN People Directory](http://search.umn.edu/) using a Python API.#Example
The basic usage of the script is as follows:
./search.py McKinneyTo search for a person using their full name, enclose it in quotation marks like:
./search.py "Nicholas McKinney"
To search by Internet ID instead of name, use `-t` or `--search_type`:
./search.py -t id McKinney
To limit your search to a particular campus, use `-c` or `--campus`. The following campus codes are allowed:
a Any campus
c Crookston
d Duluth
m Morris
r Rochester
t Twin Cities
o Other
Example:
./search.py -c c
To limit your search to people in a particular role, use `-r` or `--role`. The following role codes are allowed:any Any role
sta Faculty/Staff
stu Student
alu Alumni
ret Retired Faculty
Example:
./search.py -r stu#Dependencies
[Beautiful Soup v4](http://www.crummy.com/software/BeautifulSoup/bs4/) is required for this script to run. You can install it using the following command:pip install beautifulsoup4
*Note: I'm open to any commits that make this project faster, more efficient, easier to use, or more functional.*