On 2020-01-04 21:38, Mike Parfitt wrote:
> What does curl and wget return for you ?

Here's the result I got when running:
 curl https://api.openstreetmap.org/api/0.6/user/gpx_files -u
"some_osm_user_name"

<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="OpenStreetMap server"
copyright="OpenStreetMap and contributors"
attribution="http://www.openstreetmap.org/copyright";
license="http://opendatacommons.org/licenses/odbl/1-0/";>
<gpx_file id="..." name="..." user="..." visibility="private"
pending="false" timestamp="..." lat=".." lon="...">
  <description>...</description>
</gpx_file>
<gpx_file id="..." name="..." user="..." visibility="private"
pending="false" timestamp="..." lat=".." lon="...">
  <description>...</description>
</gpx_file>
<gpx_file id="..." name="..." user="..." visibility="private"
pending="false" timestamp="..." lat=".." lon="...">
  <description>...</description>
</gpx_file>
...
</osm>


You need to replace the user name with your own here, and provide a
password when curl asks you to. The result is an XML document with a
number of gpx_file elements. Note that I replaced some of the field
contents with dummy values above.


-- 




_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Reply via email to