News for hackers. Stuff that matters.
Re:All the current trees in Barcelona by ricktdotorg on Saturday February 29, 2020 @10:22AM (#22450970)
50 years from now, will cities provide "APIs" for residents to query & access city data and services? will i be able to "REST" some "JSON" telling me when the tree around the corner that my dog likes best was last watered? i would love this.

note: "quotes" used because who knows what interfaces will be the saveurs du jour, then.

Re:All the current trees in Barcelona by progman32 on Saturday February 29, 2020 @11:55AM (#22451496)
The average city is swimming in data these days. Many expose it through various APIs. The Socrata platform (disclaimer: I work there) is one example of many.

For instance, here's Edmonton's tree dataset: https://data.edmonton.ca/Environmental-Services/Trees/eecg-f...

API docs are here (there's an API button on the top right of the first linked page that takes you here): https://dev.socrata.com/foundry/data.edmonton.ca/eecg-fc54

Example query - 10 most recently-planted trees bearing edible fruit:

https://data.edmonton.ca/resource/eecg-fc54.json?$query=sele...

Re:All the current trees in Barcelona by grilledchickenw on Saturday February 29, 2020 @10:36AM (#22451036)
50 years? Try Iceland, right now. http://docs.apis.is/ APIs for gas stations, concerts, TV schedules, school syllabi...
Re:All the current trees in Barcelona by LessDmesg on Sunday March 01, 2020 @07:30AM (#22456607)
Those Vikings are sure damn smart...
Re:All the current trees in Barcelona by GrumpyNl on Saturday February 29, 2020 @10:40AM (#22451075)
Thats great, gonna play around with that
Re:All the current trees in Barcelona by JorgeGT on Saturday February 29, 2020 @03:14PM (#22452759)
My city (third largest in Spain) already has APIs for querying static and real-time data: http://gobiernoabierto.valencia.es/en/info-api/
Re:All the current trees in Barcelona by max_likelihood on Saturday February 29, 2020 @06:16PM (#22453908)
My father owned a tree service in the town I grew up in. We spent countless hours driving around town, looking at different trees and giving estimates for trimming and removal. I could imagine leveraging this data as almost a Zillow for trees.
Re:All the current trees in Barcelona by hk__2 on Saturday February 29, 2020 @03:01PM (#22452672)
Lots of cities now have open data. Paris (France), for example, has both fixed datasets and real-time ones: https://opendata.paris.fr/