MongoDB Store for the API Billing Backend
Project description
Frappy Python Mongo Store for API Billing
Python MongoDB Store Implementation for Tracking API Billing Usage.
Installation
pip install frappymongoapibilling --user
This will also install pbu
which is required to operate the store implementation.
Usage
from frappymongoapibilling import UsageStore
from frappyapibilling import ApiBilling
# create the store instance
store = UsageStore(mongo_url="mongodb://localhost:27017", mongo_db="myDatabase", collection_name="apiUsage")
# pass the store instance to the api billing constructor
api_billing = ApiBilling(usage_store=store)
See API Billing Usage for details on how to use the module.
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
Close
Hashes for frappymongoapibilling-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35dfb9d0cca9ea6e9d2e17f38a65f26d211b318e13d003a5afb579e4467c4432 |
|
MD5 | 241ee9f2fce4d9cf7275bc0e8d86e5a8 |
|
BLAKE2b-256 | fe984977c96959f5a55fcfecada0a58067024c7e895c32a5c4c969addd60100c |
Close
Hashes for frappymongoapibilling-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756f916120984b0aab18d59bdbe6c80c9f2784d71dde858d36125bf0f4691bcc |
|
MD5 | 5d151fe9084dccdb55952ea7a781d394 |
|
BLAKE2b-256 | 9cf6f3889592558a3fd54ca4489b3b08ecd12a8b4671c4b22cd7417552c9c3c8 |