An API Wrapper for Atlas Obscura
npm install --save node-atlas-obscura
const Atlas = require("node-atlas-obscura");
const atlas = new Atlas();
atlas.getPlaces({
city: "Berlin",
country: "Germany",
orderByRecent: false,
});
/*
If true, this method will show most recent places added for this location
*/
atlas.getFoodPlaces({
city: "Berlin",
country: "Germany",
});
atlas.getPlaceById(placeId, (placeOnly = true));
/*
If false, this method will also return places nearby this one
*/
atlas.getTags({
city: "Berlin",
country: "Germany",
});
atlas.getPlacesByTag({
city: "Berlin",
country: "Germany",
tag: "art",
});
atlas.getPopular();
atlas.getAllPlaces();
atlas.search(keyword, isPlace = false);
atlas.getUserLists(username);
atlas.getUserList(username, listName);