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.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9025eb080f1d660cab70a64a281911814db1b5d3a5d9f44f909ec01212bc68ac |
|
MD5 | a2dbdfdd8cc65340cb667a7b67f2b97c |
|
BLAKE2b-256 | a60b5ff0efc6c6a3422c5dfca22b59202f6ac6dc617adf6f159b1d21d362f04a |
Close
Hashes for frappymongoapibilling-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d2f83e5250fcdddc87cf65e55ff909c102fa500a40d7a29e3fa0d535058026 |
|
MD5 | dfef5ff9f422ec0e17d8c6caa2cef71b |
|
BLAKE2b-256 | 33d6ea1509793bbdd496288927545af58ac8d7d6cfad7c325483e1f0c33ac690 |