Skip to main content

An SDK to use the Truework API

Project description

Truework Python SDK

A first party Python SDK for the Truework API.

Code in this repository is licensed under the MIT license, see LICENSE for details.

Installation

pip install truework

Requirements

  • python 2.7 or python 3.6+

Usage

import truework

truework.API_TOKEN = '<your_token>'

# Get the first 10 companies that match the query "International"
truework.Company.search('International', offset=0, limit=10)

Development

First you need to install some additional packages by running

pip install -r requirements-dev.txt -r requirements-test.txt

Then to test run:

tox

This will test the SDK in both python2 and python3 environments.

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

truework-0.0.1.tar.gz (7.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page