Python client for Docsumo
Project description
Welcome to Docsumo python client documentation!
For detail:
Install
pip3 install docsumo
Set API KEY from docsumo setting page as env variable DOCSUMO_API_KEY
export DOCSUMO_API_KEY="test" >> ~/.bashrc
source ~/.bashrc
Example
from docsumo import Docsumo
doc = Docsumo()
# OR
# doc = Docsumo(apikey="fghhGh56HHJ...")
# To get the user detail & credit limit.
print(doc.user_detail_credit_limit())
Output:
{'error': '',
'error_code': '',
'message': '',
'status': 'success',
'status_code': 200,
'data': {'email': 'tester@docsumo.com',
'full_name': 'Docsumo Tester',
'monthly_doc_current': 75,
'monthly_doc_limit': 300,
'user_id': '5cb45f1f5a841101f703770a'}}
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
docsumo-0.5.3.tar.gz
(4.7 kB
view hashes)