Skip to content

Instantly share code, notes, and snippets.

"""
Proof of Concept: Generate a Travellermap Subsector Poster from Legacy SEC data using Python and the Requests lib
"""
import requests
# I'm hard coding this for demostration purposes but ideally this data comes from the CLWorldGen
# Also note that API allows you to generate an entire sector or just a subsector.
# for our purposes we'll just generate subsector A
SUBSECTOR_DATA = """@SUB-SECTOR: Laorre SECTOR: Esge
#
Location Crafter: Traveller Example
LOCATIONS
Space
Space
Space
Space
Space
Space
Planet