Unofficial API package for GoMoodboard
This is very lean package that scrapes the website of the board you request. Then passes all of the images on the board in JSON format as a promise.
npm install gomoodboard-api
Get a board in a structured format. You can get the board ID from the gomoodboard board url. (In some cases you'll need to add /share
after ID as <boardId>/share
to make it work properly)
const GomoodboardApi = require('gomoodboard-api');
GomoodboardApi.getBoard('pjK9oD41').then((data) => {
// Your code
});
The data
object structure is following.
[
{
"image": {
"id": 12442816,
"name": null,
"comment": "",
"viewable": null,
"filepath": "/gomoodboard.com/production%2F1407439227897-rvbul86dbhloko6r-7a4f0193115d2d804696b560775573f4%2Fexposure-12.jpg",
"full": "http://d1lfunetf0rx3e.cloudfront.net/production%2F1407439227897-rvbul86dbhloko6r-7a4f0193115d2d804696b560775573f4%2Fexposure-12.jpg",
"order_position": null,
}
}
]
Name | Website |
---|---|
Ondřej Bárta | http://ondrejbarta.xyz |