Add your description here
Project description
Trustcafe API Wrapper
Intended use (not working yet but testing.py does)
import trustcafeapiwrapper, os
API = trustcafeapiwrapper.APIClient(
client_id=os.getenv("client_id"),
client_secret=os.getenv("client_secret")
)
profile = API.run_job('userprofile.get', "simon-little")
Debates
- Not sure about the name
jobsandrun_job. Requests is an existing package dependency though.tasksseems to broard. I'm sure there's probably an already existing name that I can't articulate how to find. - Should these
jobbe called with dot notation? Or with slashes? Or something else? Is it okay to have these as strings? - Should we do validation in the
jobsor let the server do that all? wrappedis an awkward name. What's more proper? But also obvious?
ToDo:
- Make more jobs
- Make wrappers to make it less cumbersome when posting etc
- Publish to PyPi or whatever
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trustcafeapiwrapper-0.1.0.1.tar.gz.
File metadata
- Download URL: trustcafeapiwrapper-0.1.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9acf187d3e1cf430a9d84ff7c3356cd74fdd10ab8d794f6b0317667778f909e5
|
|
| MD5 |
4d48b55643f4aef19466101cd19f2362
|
|
| BLAKE2b-256 |
51d7f582f8e82f920b6dfee642f573c19551fdda3ca1ccb4247ce4e4a7419b02
|
File details
Details for the file trustcafeapiwrapper-0.1.0.1-py3-none-any.whl.
File metadata
- Download URL: trustcafeapiwrapper-0.1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e477b881d0efe10c995345836e52ba5f9da67f0aa5cbfee2b6e05af6f1d0544
|
|
| MD5 |
e96b38433b6d76fe1e2e87bed8b41d41
|
|
| BLAKE2b-256 |
0d17f80abcf019be18ce1a9abec02204b92ba77cb18c0dc1fa0b6f7e094c84cf
|