Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get Adafruit Industries electronics DIY products and components data
ResourceFunction["AdafruitProductData"]["Products"] returns a Dataset of all electronic components and products from Adafruit Industries. | |
ResourceFunction["AdafruitProductData"][productID] returns a Dataset with data on the electronic component with the given productID. | |
ResourceFunction["AdafruitProductData"]["Categories"] returns a Dataset of categories of electronic components. | |
ResourceFunction["AdafruitProductData"]["Categories", categoryID] returns a Dataset of data on the specified categoryID. |
Calling AdafruitProductData[] gives all data about electronics products from Adafruit as a Dataset:
In[1]:= | ![]() |
Out[1]= | ![]() |
Check all the dataset fields available, looking at the first record as an example:
In[2]:= | ![]() |
Out[2]= | ![]() |
View all the dataset keys (fields):
In[3]:= | ![]() |
Out[3]= | ![]() |
Get just one specific product by the product ID:
In[4]:= | ![]() |
Out[4]= | ![]() |
Get the product image:
In[5]:= | ![]() |
Out[5]= | ![]() |
Specify that we are looking for a product:
In[6]:= | ![]() |
Out[6]= | ![]() |
Get the full list of categories:
In[7]:= | ![]() |
Check the category dataset fields:
In[8]:= | ![]() |
Out[8]= | ![]() |
Find information on just one category by ID:
In[9]:= | ![]() |
Out[9]= | ![]() |
Investigate the "Arduino" related electronic products available:
In[10]:= | ![]() |
Out[11]= | ![]() |
View just image, name and price of the first 10 "Arduino" electronic products:
In[12]:= | ![]() |
Out[12]= | ![]() |
Asking for a product that does not exist returns an empty dataset:
In[13]:= | ![]() |
Out[13]= | ![]() |
Asking for a category that does not exist returns an empty dataset:
In[14]:= | ![]() |
Out[14]= | ![]() |
Asking for a product that does not exist returns an empty dataset:
In[15]:= | ![]() |
Out[15]= | ![]() |
Get the electronics products dataset:
View the first 10 LED related products:
In[16]:= | ![]() |
Out[17]= | ![]() |
View ESP32 microcontroller related products:
In[18]:= | ![]() |
Out[18]= | ![]() |
Find the category for "Arduino":
In[19]:= | ![]() |
In[20]:= | ![]() |
Out[20]= | ![]() |
We can create a small interactive application to see all "Arduino" related projects in a interactive Manipulate:
In[21]:= | ![]() |
In[22]:= | ![]() |
Out[22]= | ![]() |
Create a card for an electronic product:
In[23]:= | ![]() |
Out[23]= | ![]() |
Get an AI summary of the electronic product webpage text:
In[24]:= | ![]() |
Out[25]= | ![]() |
Try improving the language with LLMSynthesize:
In[26]:= | ![]() |
Out[27]= | ![]() |
Wolfram Language 14.0 (January 2024) or above
This work is licensed under a Creative Commons Attribution 4.0 International License