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.1.tar.gz
(7.3 kB
view hashes)
Built Distribution
diffbot_kg-0.2.1-py3-none-any.whl
(11.6 kB
view hashes)
Close
Hashes for diffbot_kg-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a4446c08ce8b7986e77fa82e4def283d3385544147ba1c63a31d2b48bf3ce6 |
|
MD5 | 28cbb2e24c01726dec20ddd0ac216f7b |
|
BLAKE2b-256 | 10c410bc5d7d1a1485024728d8dce6150bfc0a49a4684e9b9af9e2a0ba7fb56a |