Skip to main content

Python client for the Diffbot Knowledge Graph API.

Project description

Diffbot Knowledge Graph Client

Diffbot Logo

CodeFactor GitHub Actions Workflow Status PyPI - Version GitHub License


Python client for the Diffbot Knowledge Graph API.


pip install diffbot-kg


from diffbot_kg import DiffbotSearchClient, DiffbotEnhanceClient

search_client = DiffbotSearchClient('your_api_key')
enhance_client = DiffbotEnhanceClient('your_api_key')

# Search for entities
search_results ={query='type:Organization name:Diffbot'})

# Enhance an entity
enhanced_entity = enhance_client.enhance({query='type:Organization name:Diffbot'})


Contributions to this project are welcome. - see the file for details.


This project is licensed under the MIT License - see the LICENSE file for details.

Project details

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)

Uploaded Source

Built Distribution

diffbot_kg-0.2.1-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page