Polymer Based Site to pick randomly attendees to a Meetup.com Event. Inspired by the always impressive Alan Palazzolo [who now that I type his last name I understand his gh handle] lovingly crafted random-picker-thingy
##Demo http://dev.cledwyn.com/random-picker-polymer/
Or on Github Pages http://cledwyn.github.io/random-picker-polymer/
###Usage
- Use it for your own meetup. Click the "Restart" button and fill in the fields.
- To restart random picker click on the final member tile and it will restart the picker from the start.
###TURNS OUT Meetup.com has a pretty rockin API. For this case I used the Attendendance endpoint. http://www.meetup.com/meetup_api/docs/:urlname/events/:id/attendance/#list
#Install Steps
- clone git repo
bower update- Done
well...
###Notes on makig your own signed URL request.
- Fetch yon Meetup KEY - https://secure.meetup.com/meetup_api/key/
- to create your own Signed API URL, you need three things
- that API Key
- the "url-name" of your meetup. (i.e. GDG-TC, NYC-GDG, AngularMN, etc)
- the eventid that you wish to query.
- lick and stick into https://api.meetup.com/{2}/events/3/attendance?key={1}&sign=true&photo-host=public&callback=replace
- slam that into your favorite Chrome browser[1], and yoink out the element x-meetup-signed-url from the Response.
- That there is your own unique signed API endpoint. [2]
- Shoot. One last manual futz. You need to remove the
&callback=replace[3] - your final url should end like
.....d2ba5f0b37e159c4b0da
[1] I highly reccomend the extension JSON View
[2] If you are super lazy and don't care about making your API key public, not reccomended then you could go with the beastie from #3. Your call. Just sayin'. YOU WILL still need to remove the &callback=replace off the end.
[3] the polymer JSONP object will append it's onwn callback parameter variable