Skip to main content

Credential Manager API Client

Project description

Client for interacting with Credential Manager API

  • API version: 1.0

  • Package version: 1.0.1

Requirements

Python 3.6+

Installation & Usage

pip install credmgr

Then import the package:

import CredentialManager

Getting Started

import CredentialManager

credentialManager = CredentialManager.client(api_token='apiToken')

# List all Reddit apps
redditApps = credentialManager.reddit_apps()
for redditApp in redditApps:
    print(redditApp.app_name)

# Create a Reddit app
redditApp = credentialManager.reddit_app.create(app_name='redditAppName', client_id='client_id', client_secret='client_secret', user_agent='user_agent', redirect_uri='redirect_uri')

# Get the app by id
redditApp = credentialManager.reddit_app(1)

# Edit the Reddit app
redditApp.edit(client_id='new Client_id')

# Delete the app
redditApp.delete()

Project details


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.4.tar.gz (19.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page