api calls

22 views
Skip to first unread message

Ross Scanlon

unread,
May 8, 2012, 3:45:29 AM5/8/12
to osm-...@googlegroups.com
Is there an api call for user details?

similar to

www.openstreetmap.org/user/Rosscoe

Cheers
Ross

Mike Dupont

unread,
May 8, 2012, 12:12:06 PM5/8/12
to osm-...@googlegroups.com
No,not right now. but that might be something we can do with my
lowlevel fosm json api that I made.
mike
--
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org

80n

unread,
May 8, 2012, 1:29:23 PM5/8/12
to osm-...@googlegroups.com
On Tue, May 8, 2012 at 5:12 PM, Mike Dupont
<jamesmi...@googlemail.com> wrote:
> No,not right now. but that might be something we can do with my
> lowlevel fosm json api that I made.
> mike

Actually there is some functionality although I'm not sure how well it
works or how useful it is.

For a logged in user (try http://www.fosm.org/login to create an
authenticated session) the following URLs return some results:
http://www.fosm.org/api/0.6/user/details
http://www.fosm.org/api/0.6/user/preferences (you can read your user
preferences, but there's no method for setting them)
http://www.fosm.org/api/0.6/user/conflicts

If there's something specific that you need then let me know and I may
be able to get it working for you.

80n

Ross Scanlon

unread,
May 8, 2012, 9:39:59 PM5/8/12
to osm-...@googlegroups.com
I was looking along the lines of having a page like the osm user page
but with the detail that they are a user on fosm.org.

If not a fosm.org user then it would redirect to the osm user page.

So even the /api/0.6/user/details would be sufficient, but would need to
be something like /api/0.6/user/<username> assuming that only fosm users
would respond with those details.

Looking to link from josm-fosm history page and from the browse pages.


Mike,

Latest version of josm-fosm available at:

http://map.4x4falcon.com/josm/josm-fosm_5223.jar

for upload to pine02.

or maybe 80n can provide access for me to upload josm-fosm to this
directory by ftp.

Can we add a link on the getting started page, something like:

"Get josm set up for fosm.org from here: http://pine02.fosm.org/josm"

above the current link to the osm version.

Regards
Ross

Kevin Peat

unread,
May 9, 2012, 4:39:25 AM5/9/12
to osm-...@googlegroups.com

Hi Ross,

I can change the Getting Started page (at least the one in github), which I will do later today. It would be nice after that change is made to update the website with the current github pages as there are quite a few differences now.

+1 on some kind of user pages, links from the changeset browser, etc. to osm user pages are amateurish at best. Would be nice if they were user editable in some way so that contributors could add some details if they want or link out to a wiki page if they want. Alternatively, would it be better if a user page api call just redirected to a wiki page which people could just maintain themselves?

Kevin

On May 9, 2012 2:40 AM, "Ross Scanlon" <in...@4x4falcon.com> wrote:
I was looking along the lines of having a page like the osm user page but with the detail that they are a user on fosm.org.

If not a fosm.org user then it would redirect to the osm user page.

So even the /api/0.6/user/details would be sufficient, but would need to be something like /api/0.6/user/<username> assuming that only fosm users would respond with those details.

Looking to link from josm-fosm history page and from the browse pages.


Mike,

Latest version of josm-fosm available at:

http://map.4x4falcon.com/josm/josm-fosm_5223.jar

for upload to pine02.

or maybe 80n can provide access for me to upload josm-fosm to this directory by ftp.

Can we add a link on the getting started page, something like:

"Get josm set up for fosm.org from here: http://pine02.fosm.org/josm"

above the current link to the osm version.

Regards
Ross


On 09/05/12 01:29, 80n wrote:
On Tue, May 8, 2012 at 5:12 PM, Mike  Dupont

Ross Scanlon

unread,
May 9, 2012, 8:31:05 AM5/9/12
to osm-...@googlegroups.com
On 09/05/12 16:39, Kevin Peat wrote:
> Hi Ross,
>
> I can change the Getting Started page (at least the one in github),
> which I will do later today. It would be nice after that change is made
> to update the website with the current github pages as there are quite a
> few differences now.

Maybe update the front page with "The world rendered with Mapnik" to
replace "Australia rendered with Mapnik" as well.

> +1 on some kind of user pages, links from the changeset browser, etc. to
> osm user pages are amateurish at best. Would be nice if they were user
> editable in some way so that contributors could add some details if they
> want or link out to a wiki page if they want. Alternatively, would it be
> better if a user page api call just redirected to a wiki page which
> people could just maintain themselves?
>
> Kevin

I'll have a look at this if we can get some sort of indication if they
are fosm.org users or not.

It should be fairly easy to implement with a redirect to wiki/local or
osm page depending on the user.

Cheers
Ross

Kevin Peat

unread,
May 9, 2012, 11:00:20 AM5/9/12
to osm-...@googlegroups.com
I've updated the Getting Started page in github with a link to
josm-fosm and changed the home page text a suggested.

regards,
Kevin
Reply all
Reply to author
Forward
0 new messages