Dataset
The recommended way to interact with the Protocol API is by using one of our official SDKs. Today, Protocol offers fine-tuned JavaScript, Ruby, PHP, Python, and Go libraries to make your life easier and give you the best experience when consuming the API.
Hugging Face
This guide will get you all set up and ready to use the Protocol API. We'll cover how to get started using one of our API clients and how to make your first API request. We'll also look at where to go next to find all the information you need to take full advantage of our powerful REST API.
Before you can make requests to the Protocol API, you will need to grab your API key from your dashboard. You find it under Settings » API.
Prequits
Install datasets
pip install datasets
from datasets import load_dataset
dataset = load_dataset('gerbergpt/component', split='validation')
Component Dataset
from datasets import load_dataset
dataset = load_dataset('gerbergpt/component', split='validation')
Schematic Dataset
from datasets import load_dataset
dataset = load_dataset('gerbergpt/schematic', split='validation')
Gerber Dataset
from datasets import load_dataset
dataset = load_dataset('gerbergpt/gerber', split='validation')