NounProjex v0.1.0 NounProjex View Source

Noun Project API Client in Elixir.

Link to this section Summary

Functions

Construct the OAuth1.0 header with some serious voodoo

Execute the request. See do_request/3

Execute the request by constructing OAuth headers and the URL by the given path

Returns a single collection by slug (string)

Returns a list of icons associated with a collection by slug (string)

Returns a list of all collections

Returns a single icon by term (string)

Returns a list of icons by term (string)

Returns list of most recently uploaded icons

Returns current oauth usage and limits

Returns a single collection associated with a user by user_id (int) and slug (string)

Returns a list of collections associated with a user by user_id (int)

Returns a list of uploads associated with a user by username (string)

Link to this section Functions

Link to this function construct_oauth_header(method, url) View Source

Construct the OAuth1.0 header with some serious voodoo.

Link to this function do_request(method, path) View Source

Execute the request. See do_request/3.

Link to this function do_request(method, path, params) View Source

Execute the request by constructing OAuth headers and the URL by the given path.

Returns a single collection by slug (string).

Link to this function get_collection_icons(id_or_slug, params \\ []) View Source

Returns a list of icons associated with a collection by slug (string).

Link to this function get_collections(params \\ []) View Source

Returns a list of all collections.

Returns a single icon by term (string).

Link to this function get_icons(term, params \\ []) View Source

Returns a list of icons by term (string).

Link to this function get_icons_recent_uploads(params \\ []) View Source

Returns list of most recently uploaded icons.

Returns current oauth usage and limits.

Link to this function get_user_collection(user_id, slug) View Source

Returns a single collection associated with a user by user_id (int) and slug (string).

Link to this function get_user_collections(user_id) View Source

Returns a list of collections associated with a user by user_id (int).

Link to this function get_user_uploads(username, params \\ []) View Source

Returns a list of uploads associated with a user by username (string).