Skip to content

brendancsmith/diffbot-kg

Folders and files

NameName
Last commit message
Last commit date
Apr 6, 2024
Apr 26, 2024
Apr 26, 2024
Apr 26, 2024
Apr 26, 2024
Mar 11, 2024
Apr 26, 2024
Feb 21, 2024
Apr 26, 2024
Mar 11, 2024
Sep 5, 2024
Sep 5, 2024

Repository files navigation

Diffbot Knowledge Graph Client

Diffbot Logo

CodeFactor GitHub Actions Workflow Status PyPI - Version GitHub License

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.