GithubTrendEx v0.2.1 GithubTrendEx
GithubTrendEx get trend data from github.
Summary
Functions
Return Map %{name: "a name of the trend", url: "a url to github of the trend", description: "description of the trend"}
Get github trending from github.com
Generate URL for trending
Functions
list(html)
list(bitstring) :: [%GithubTrendEx.Repo{contributors: term, description: term, forks: term, language: term, name: term, stars: term, url: term}]
Return Map %{name: "a name of the trend", url: "a url to github of the trend", description: "description of the trend"}
Get github trending from github.com
Generate URL for trending
Example
iex> GithubTrendEx.trending_url
"https://github.com/trending?since=daily"
iex> GithubTrendEx.trending_url("elixir")
"https://github.com/trending/elixir?since=daily"
iex> GithubTrendEx.trending_url("elixir", "weekly")
"https://github.com/trending/elixir?since=weekly"