Version/1.0
[1.0.0]
Added
- Add translation for counters, tables, errors and drake in:
- French
- English
- Romanian
- Albanian
- Add management of translation with gettext.
- Add management of variables with
.env. See the.env.sample. - Add errors management with specific templates. Available errors are:
ExoplanetScholarAPIErrorDbErrorUnExpectedErrorCalculationErrorPostgrestErrorPostgrestConnectionErrorPostgrestInvalidURLError
- Add a short explanation of how exoplanets are classified in exoplanet table.
- Add some endpoint to the API:
-
/give some information on the API. -
/counter/give some information on counters. -
/counter/simple/display a simple counter. -
/counter/detailed/display a detailed counter. -
/counter/by_detection_method/{method}display counters by detections methods. -
/table/give some information on tables. -
/table/systems/display a table of systems. -
/table/exoplanet/display a table of exoplanets. -
/table/exoplanet/mass_radius/display a table of exoplanets classified by mass, radius and density. -
/table/exoplanet/temperature/display a table of exoplanets classified by temperature. -
/catalogue/display a catalogue of exoplanets. -
/drake/display a tool for the Drake equation. -
/css/give some information on css. -
/css/scholar_api/give a css file for tools. -
/css/drake/give a css file for/drake/. -
/css/catalogue/give a css file for/catalogue/. -
/dev/to get a dev part of the API with secure access. -
/dev/htmx/to get a dev part of htmx integrations. -
/dev/endpoints/to get a dev part with all endpoints. -
/dev/env-vars/to get a dev part with all environment variables. -
/dev/fragments/to get a dev part with all fragments. -
/dev/stand-alone/to get a dev part to display tools in standalone page.
-