Skip to main content

Client library for accessing Cofactr data.

Project description

Cofactr

Python client library for accessing Cofactr.

Example

from urllib import parse
from cofactr.graph import GraphAPI

graph_api = GraphAPI()

resistors = graph_api.get_products(
    query="resistor",
    fields=["mpn", "assembly"],
    limit=3,
    external=False,
)

more_resistors = graph_api.get_products(**resistors["paging"]["next"])

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

cofactr-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

cofactr-0.1.0-py3-none-any.whl (3.4 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