A command-line web service client for calling BYU REST web services.
Project description
byu-ws-cli-python
=================
A command-line web service client for calling BYU REST web services.
Supports Python 2.7 and 3.3.
It handles the authentication work so you don't have to.
It supports URLEncoding and Nonce Encoding. It also supports WSSession and API Keys.
You can mix and match the encoding and the key type as well.
To install from pypi run
easy_install byu_ws_cli
or
pip install byu_ws_cli
Next, you need to setup a file called credentials.py somewhere on your python path with the following contents.
# this file doesn't go into source control
key = '' # your apiKey's wsId
shared_secret = '' # your apiKey's sharedSecret
username = '' # your BYU netId
password = '' # your netId password
Finally, call the script.
call_byu_ws -h
=================
A command-line web service client for calling BYU REST web services.
Supports Python 2.7 and 3.3.
It handles the authentication work so you don't have to.
It supports URLEncoding and Nonce Encoding. It also supports WSSession and API Keys.
You can mix and match the encoding and the key type as well.
To install from pypi run
easy_install byu_ws_cli
or
pip install byu_ws_cli
Next, you need to setup a file called credentials.py somewhere on your python path with the following contents.
# this file doesn't go into source control
key = '' # your apiKey's wsId
shared_secret = '' # your apiKey's sharedSecret
username = '' # your BYU netId
password = '' # your netId password
Finally, call the script.
call_byu_ws -h
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
byu_ws_cli-0.9.9.tar.gz
(4.8 kB
view details)
Built Distributions
byu_ws_cli-0.9.9-py3.4.egg
(10.7 kB
view details)
byu_ws_cli-0.9.9-py2.7.egg
(10.4 kB
view details)
File details
Details for the file byu_ws_cli-0.9.9.tar.gz
.
File metadata
- Download URL: byu_ws_cli-0.9.9.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 458c2bfb308ee0542c616c5b2538bedaf6b619b6800bebc21465d38d7c51d766 |
|
MD5 | 689a45856f3eda99a8f70a0f7d279372 |
|
BLAKE2b-256 | b903f832bc9554705e7af746204d5bef823bf80edc331532c71c54a97d2fb4a8 |
File details
Details for the file byu_ws_cli-0.9.9-py27-none-any.whl
.
File metadata
- Download URL: byu_ws_cli-0.9.9-py27-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2.7
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b1065a2e2f04adfabe89f569b8ebaa0deeeb5378a1d078869cc780857bfed2a |
|
MD5 | b301f42f928d01cd9d0e8a2eaee6626e |
|
BLAKE2b-256 | ee7c31ae94d39ce96dcc43427e41ca2fa8941e803e11c1bb35d75f1c55d6c76f |
File details
Details for the file byu_ws_cli-0.9.9-py3.4.egg
.
File metadata
- Download URL: byu_ws_cli-0.9.9-py3.4.egg
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7aab21e0aa91c28ea2f72fd05e2488081e27c1f1c573df8a52254f79df21327 |
|
MD5 | 2cde9b7e34df7f9f30a88c68c6b483fc |
|
BLAKE2b-256 | 5601380252ade790ed4dbc4bbd7a947f1d231e6f326f7270dfa1a96faf80a1d7 |
File details
Details for the file byu_ws_cli-0.9.9-py2.7.egg
.
File metadata
- Download URL: byu_ws_cli-0.9.9-py2.7.egg
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c96512dca5b9f1ed71bc93e5268736c520728cf2838eba71265fa671d4e9703b |
|
MD5 | 46dfe64e0a666b1b89574530751ed6e1 |
|
BLAKE2b-256 | bb3c42aedbbedb2ecef2f1b9b5273da1d60be909dcbefd343b4e9bccaff4337b |