pyatlasobscura
Library to interact with the Atlas Obscura website
Quickstart
pip install pyatlasobscura
import pyatlasobscura as ao
from pyatlasobscura import SearchType
for location in ao.search(SearchType.CATEGORY, 'books'):
print(location.title)
destination = next(ao.destinations())
country = destination.countries[0]
place = next(country.places())
print(place)
print(place.categories)
place.load()
print(place)
See examples for more.
Reference
Objects have the following structure