ElMeduza v0.1.2 ElMeduza View Source
Module for fetching different kind of information from meduza.io api
Link to this section Summary
Functions
Returns a number of likes for vk, tw, ok, fb
All available articles and other items of the site
Fetch informers
Fetch page with posts for one of the following categories
Fetch single posting by path
Featured posts?
Fetch stocks info for usd, eur, brent, etc
Link to this section Functions
Returns a number of likes for vk, tw, ok, fb
As well as a number of comments(reactions)
Accepts a list of paths one or many
Examples
iex> ElMeduza.collection_stats(["promo/podpiska-na-vecherku"])
iex> ElMeduza.collection_stats(["feature/2017/10/13/zriteli-svoyu-otsenku-vyskazali", "feature/2017/10/13/uvolen-rukovoditel-tsentra-podgotovki-kosmonavtov-vozmozhnaya-prichina-uhod-izvestnyh-kosmonavtov"])
Fetch page with posts for one of the following categories:
arguments:
- news, articles, shapito, razbor, games
- list of options [page: 0, per_page: 24, locale: “ru”]
Examples
iex> ElMeduza.search('news')
iex> ElMeduza.search('news', page: 2)
iex> ElMeduza.search('news', page: 2, locale: "en")
Fetch single posting by path
Examples
iex> ElMeduza.single_post("feature/2017/10/13/zriteli-svoyu-otsenku-vyskazali")