ElMeduza v0.1.5 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
Link to this function
collection_stats(collections)
View Source
collection_stats([String.t()]) :: {:ok, map()} | {:error, any()}
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
ElMeduza.collection_stats(["feature/2017/10/13/zriteli-svoyu-otsenku-vyskazali"])
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: βenβ]
Examples
ElMeduza.search("news")
Link to this function
single_post(path)
View Source
single_post(String.t()) :: {:ok, map()} | {:error, any()}
Fetch single posting by path
Examples
ElMeduza.single_post("feature/2017/10/13/zriteli-svoyu-otsenku-vyskazali")