Credential Manager API Client
Project description
Client for interacting with Credential Manager API
API version: 1.0
Package version: 1.6.0
Requirements
Python 3.7+
Installation & Usage
pip install credmgr
Then import the package:
from credmgr import CredentialManager
Getting Started
credential_manager = CredentialManager(api_token="api_token")
# List all Reddit apps
reddit_apps = credential_manager.reddit_apps()
for reddit_app in reddit_apps:
print(reddit_app.name)
# Create a Reddit app
redditApp = credential_manager.reddit_app.create(
name="reddit_app_name",
client_id="client_id",
client_secret="client_secret",
user_agent="user_agent",
redirect_uri="redirect_uri",
)
# Get the app by id
reddit_app = credential_manager.reddit_app(1)
# Edit the Reddit app
reddit_app.edit(client_id="client_id_2")
# Delete the app
reddit_app.delete()
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
credmgr-1.6.0.tar.gz
(21.9 kB
view details)
Built Distribution
credmgr-1.6.0-py3-none-any.whl
(31.3 kB
view details)
File details
Details for the file credmgr-1.6.0.tar.gz
.
File metadata
- Download URL: credmgr-1.6.0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb2890b922397694d01a5ee926beec380c52e82957e365af2bc8940f9dd2083f |
|
MD5 | e9be5f3a6e7e70554bb17e07364c4fa5 |
|
BLAKE2b-256 | 398ab9aafec47035aa05cc4ede6dfa646fa93e148c133b10f2f5e7e6260c232b |
File details
Details for the file credmgr-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: credmgr-1.6.0-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a2cc2d76730ad4529b5777eda6ad44c967174a3842d1b4d0f5180b966794fc |
|
MD5 | 941eee71c72fe91179cd8a82ce16d3e5 |
|
BLAKE2b-256 | 54dd39280278669cb0705a2f89a2aa38a8999ad3be7bfbfc416205172f3add7b |