hex_api_release.get
You're seeing just the function
get
, go back to hex_api_release module for more information.
Specs
get(hex_core:config(), binary(), binary()) -> hex_api:response().
Gets a package release.
Examples:
> hex_api_release:get(hex_core:default_config(), <<"package">>, <<"1.0.0">>). {ok, {200, ..., #{ <<"checksum">> => <<"540d210d81f56f17f64309a4896430e727972499b37bd59342dc08d61dff74d8">>, <<"docs_html_url">> => <<"https://hexdocs.pm/package/1.0.0/">>, <<"downloads">> => 740,<<"has_docs">> => true, <<"html_url">> => <<"https://hex.pm/packages/package/1.0.0">>, <<"inserted_at">> => <<"2014-12-09T18:32:03Z">>, <<"meta">> => #{<<"app">> => <<"package">>, <<"build_tools">> => [<<"mix">>]}, <<"package_url">> => <<"https://hex.pm/api/packages/package">>, <<"publisher">> => nil,<<"requirements">> => #{}, <<"retirement">> => nil, <<"updated_at">> => <<"2019-07-28T21:12:11Z">>, <<"url">> => <<"https://hex.pm/api/packages/package/releases/1.0.0">>, <<"version">> => <<"1.0.0">> }}}