pyatlasobscura

Python Library to interact with the AtlasObscura dataset


Keywords
api, atlas-obscura, atlasobscura, sdk
License
LGPL-3.0
Install
pip install pyatlasobscura==0.1.1

Documentation

pyatlasobscura

Build Status

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

objects