An open API service indexing awesome lists of open source software.

https://github.com/dkarter/meetup_giveaway

🎲 A quick Elixir script for fetching a random attendee name from meetup.com
https://github.com/dkarter/meetup_giveaway

elixir giveaway meetup

Last synced: 18 days ago
JSON representation

🎲 A quick Elixir script for fetching a random attendee name from meetup.com

Awesome Lists containing this project

README

          

# MeetupGiveaway

Returns a random attendee from an event url on meetup.com

Usage (from `iex -S mix`):

```elixir
iex> MeetupGiveaway.pick_random_attendee("https://www.meetup.com/ChicagoElixir/events/241965932/")
# => And the winner is :: "Some Name"
```

## Running from shell

```bash
mix run -e 'MeetupGiveaway.pick_random_attendee("https://www.meetup.com/ChicagoElixir/events/241965932/")'
```

## Requirements

- PhantomJS (`yarn global add phantomjs && phantomjs --wd`)