Python client for the Diffbot Knowledge Graph API.
Project description
Diffbot Knowledge Graph Client
Description
Python client for the Diffbot Knowledge Graph API.
Installation
pip install diffbot-kg
Usage
from diffbot_kg import DiffbotSearchClient, DiffbotEnhanceClient
search_client = DiffbotSearchClient('your_api_key')
enhance_client = DiffbotEnhanceClient('your_api_key')
# Search for entities
search_results = search_client.search({query='type:Organization name:Diffbot'})
# Enhance an entity
enhanced_entity = enhance_client.enhance({query='type:Organization name:Diffbot'})
Contributing
Contributions to this project are welcome. - see the CONTRIBUTING.md file for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
diffbot_kg-0.2.0.tar.gz
(7.1 kB
view hashes)
Built Distribution
diffbot_kg-0.2.0-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for diffbot_kg-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd84858a9349d2b58496020ab440a1e1c9b0349fe8180bedb1c442f5fc3e1b3 |
|
MD5 | a70838c8cb70f14f62dd8da244f71d01 |
|
BLAKE2b-256 | c36054015b73afb2de35c0b49311926fe118be22b46b8d69b9c9bd099fa3df68 |