Return period as edn from the API.