Packages

Elixir wrapper for the Meetup.com public API.

Retired package: This library no longer conforms to the Meetup API. I am looking for a new maintainer if you'd like to take it over

Current section

Files

Jump to
meetup lib v3 hosts.ex
Raw

lib/v3/hosts.ex

defmodule Meetup.V3.Hosts do
@moduledoc """
Handles endpoints related to meetup hosts.
"""
@doc """
Returns the list of hosts for a given event.
For available params, see:
https://www.meetup.com/meetup_api/docs/:urlname/events/:event_id/hosts/
"""
@spec show(String.t(), String.t(), map()) :: tuple()
def show(urlname, event_id, params) do
path = "#{urlname}/events/#{event_id}/hosts"
Meetup.get(path, params)
end
end