[openstreetmap/openstreetmap-website] add icon for OSMF membership to user page (#1914)

datendelphin notifications at github.com
Sun Jun 24 11:52:15 UTC 2018


The query to extract the osm user names from civicrm looks something like this:

https://join.osmfoundation.org/wp-content/plugins/civicrm/civicrm/extern/rest.php?entity=Membership&action=get&api_key=userkey&key=sitekey&json={"sequential":1,"return":"join_date,contact_id.custom_1","membership_type_id":{"IN":["Normal Member","Associate Member"]},"status_id":{"IN":["Current","Grace"]},"options":{"limit":10000}}

but with the correct keys of course. It outputs json. I can provide a script to update the osm usernames with this query if desired. Updating daily should probably be enough.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1914#issuecomment-399750782
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180624/cf48d8a6/attachment-0001.html>


More information about the rails-dev mailing list