MissingMaps / partners

BSD 3-Clause "New" or "Revised" License
3 stars 28 forks source link

refac: moved to new api url #782

Closed ElJocho closed 1 year ago

ElJocho commented 1 year ago
dakotabenjamin commented 1 year ago

So far looks good! Tested locally, let me know when its ready for full review.

as a note, probably you will want to remove the changes in _partner directory before we can merge.

ElJocho commented 1 year ago

-> moved back to draft since we just separated the /stats endpoint into /stats for one hashtag and /stats/hashtags for multiple hashtags. This change is not yet live in the prod api

ElJocho commented 1 year ago

Interesting, nice catch! I did not notice that this is the intended behavior, I think we could easily adapt that for the /stats/hashtags endpoint, since currently it is only used by this site. I will follow up with more on this later this day :).

ElJocho commented 1 year ago

We will adjust the endpoint tomorrow, so that it will dis-aggregate the hashtags if possible :+1:

Hagellach37 commented 1 year ago

the endpoint has been adjusted.

https://stats.now.ohsome.org/api/stats/hashtags/missingmaps,hotosm-project-*?startdate=2022-08-25T09:55:42.000Z&enddate=2023-08-25T09:55:42.000Z