OPEN-NEXT / LOSH-krawler

A crawler for open hardware projects
GNU General Public License v3.0
0 stars 1 forks source link

Create krawler extension for OSHWA #3

Closed traedamatic closed 2 years ago

traedamatic commented 2 years ago

The krawl should extend with fetch logic for the OSHWA API

https://certificationapi.oshwa.org/documentation

The code will fetch the /api/projects route to get the OSHWA projects:

https://certification.oshwa.org/list.html

moedn commented 2 years ago

Hey ho, please also get the following additional fields when fetching data from OSHWA:

BTW you're free here regarding naming and reasonable data structure. Just tell me then how you did it, so I can include it in the ontology :)

traedamatic commented 2 years ago

Hey example from the oshwa krawler:

@prefix : https://certification.oshwa.org/US002028.html/1.0.0/ . @prefix okh: https://github.com/OPEN-NEXT/OKH-LOSH/raw/master/OKH-LOSH.ttl# . @prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .

:Adafruit24lc32I2cEepromBreakout32kbit4KbStemmaQt a okh:Module ; rdfs:label "Adafruit 24LC32 I2C EEPROM Breakout - 32Kbit / 4 KB - Stemma QT" ; okh:additionalType "['Electronics']" ; okh:certificationDate "2021-08-19T00:00:00-04:00" ; okh:country "United States of America" ; okh:cpcPatentClass "H" ; okh:dataSource "OSHWA" ; okh:documentationLanguage "en" ; okh:documentationLicense "CC BY-SA" ; okh:export "[]" ; okh:function "Some microcontrollers, especially ARM Cortex-based devicess, don't have any built-in flash! What then? That's where this petite Adafruit 24LC32 I2C EEPROM Breakout comes in to help! With 32 Kbit (4 KByte) of storage, it's just the right amount of simple I2C-controllable storage. This sensor uses a 4-pin Sparkfun Qwiic-compatible connector called STEMMA QT, which allows the sensor to communicate over I2C without soldering. Click the link labeled 'Project Website' to find out more." ; okh:hardwareLicense "Other" ; okh:licensor "Adafruit Industries, LLC" ; okh:primaryType "Electronics" ; okh:repo https://certification.oshwa.org/US002028.html ; okh:repoHost "OSHWA" ; okh:softwareLicense "MIT" ; okh:source "[]" ; okh:spdxLicense https://spdx.org/licenses/CC-BY-SA-4.0 ; okh:version "1.0.0" ; okh:versionOf https://certification.oshwa.org/US002028.html .