Variable
Static Public Summary | ||
public |
The base url of the fritzing parts api |
|
public |
FritzingPartsAPIClient: {"getFzps": *, "getFzpsCore": *, "getFzpsObsolete": *, "getFzp": *, "getFzpCore": *, "getFzpObsolete": *, "getSvg": *, "getSvgCore": *, "getSvgObsolete": *, "getFzbs": *} Fritzing Parts API Client |
Static Public
public FritzingPartsAPI: String source
The base url of the fritzing parts api
Example:
const {FritzingPartsAPI} = require('fritzing-parts-api-client-js')
console.log(FritzingPartsAPI)
public FritzingPartsAPIClient: {"getFzps": *, "getFzpsCore": *, "getFzpsObsolete": *, "getFzp": *, "getFzpCore": *, "getFzpObsolete": *, "getSvg": *, "getSvgCore": *, "getSvgObsolete": *, "getFzbs": *} source
Fritzing Parts API Client
Example:
const {FritzingPartsAPIClient} = require('fritzing-parts-api-client-js')
FritzingPartsAPIClient.getFzps()
.then((fzpz) => {
console.log(fzps)
})
.catch((err) => {
console.error(err)
})