GIScience / ohsome-now-stats-service

This is the REST service for the ohsomeNow stats.
https://stats.now.ohsome.org/api/
GNU Affero General Public License v3.0
4 stars 1 forks source link

Unify echoRequestParameters and buildQueryInfoTimespan #21

Closed ElJocho closed 6 months ago

ElJocho commented 1 year ago

Afaik, we have two different functions doing basically the same thing; parroting start and enddate back to the user. We should unify the behavior and functions instead.

Also the behavior with how the results are given could be unified to always using the "result" key as well

mrkhan commented 1 year ago

The /stats endpoint needs to be as stated in AmericanRedcross repo. as its used by the existing applications

ElJocho commented 1 year ago

I'll leave this issue open, i think we should unify it in the future, but it needs to be discussed with HOT first :)

ElJocho commented 6 months ago

done, they changed their implementation to use ohsome-format