Credential Manager API Client
Project description
Client for interacting with Credential Manager API
API version: 1.0
Package version: 1.1.9
Requirements
Python 3.6+
Installation & Usage
pip install credmgr
Then import the package:
from credmgr import CredentialManager
Getting Started
credentialManager = CredentialManager(apiToken='apiToken')
# List all Reddit apps
redditApps = credentialManager.redditApps()
for redditApp in redditApps:
print(redditApp.name)
# Create a Reddit app
redditApp = credentialManager.redditApp.create(name='redditAppName', clientId='clientId', clientSecret='clientSecret', userAgent='userAgent', redirectUri='redirectUri')
# Get the app by id
redditApp = credentialManager.redditApp(1)
# Edit the Reddit app
redditApp.edit(clientId='clientId2')
# Delete the app
redditApp.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.1.9.tar.gz
(19.7 kB
view hashes)