Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brendancsmith/diffbot-kg
Python client for the Diffbot Knowledge Graph API.
https://github.com/brendancsmith/diffbot-kg
api api-client asyncio client diffbot diffbot-api graph knowledge-graph rest-api
Last synced: 29 days ago
JSON representation
Python client for the Diffbot Knowledge Graph API.
- Host: GitHub
- URL: https://github.com/brendancsmith/diffbot-kg
- Owner: brendancsmith
- License: mit
- Created: 2024-02-21T20:45:02.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-09-05T19:35:05.000Z (5 months ago)
- Last Synced: 2024-11-16T10:13:46.436Z (3 months ago)
- Topics: api, api-client, asyncio, client, diffbot, diffbot-api, graph, knowledge-graph, rest-api
- Language: Python
- Homepage:
- Size: 192 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Diffbot Knowledge Graph Client
![Diffbot Logo](https://www.diffbot.com/assets/img/diffbot-logo-darkbg.svg)
[![CodeFactor](https://www.codefactor.io/repository/github/brendancsmith/diffbot-kg/badge)](https://www.codefactor.io/repository/github/brendancsmith/diffbot-kg)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/brendancsmith/diffbot-kg/python-package.yml)
![PyPI - Version](https://img.shields.io/pypi/v/diffbot-kg)
![GitHub License](https://img.shields.io/github/license/brendancsmith/diffbot-kg)## Description
Python client for the Diffbot Knowledge Graph API.
## Installation
```sh
pip install diffbot-kg
```## Usage
```python
from diffbot_kg import DiffbotSearchClient, DiffbotEnhanceClientsearch_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.