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.1.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for diffbot_kg-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e5a7dd6ea4af022f696013e339b31d171e5a8b3bf668a1156eb2b8cf13b78d |
|
MD5 | 27efa694527687699f0d4f90fcf0bc2e |
|
BLAKE2b-256 | fb3dbef38ef0afce0e3e38fe7f697ab70a9b7ed59c68b127ab2cc0e421c7edf6 |