Module hexer_server

Connection to hex.pm server.

Description

Connection to hex.pm server

Function Index

create_user/3Creates a new user.
new_api_key/3Generates a new API key.
publish_docs/4Publishes the documentation for an app.
publish_package/3Publishes a package.

Function Details

create_user/3

create_user(Username::string(), Email::string(), Password::string()) -> ok | {error, any()}

Creates a new user

new_api_key/3

new_api_key(Name::binary(), Username::string(), Password::string()) -> {ok, binary()} | {error, any()}

Generates a new API key

publish_docs/4

publish_docs(APIKey::string(), Name::string(), Version::string(), Tar::binary()) -> ok | {error, any()}

Publishes the documentation for an app

publish_package/3

publish_package(APIKey::string(), Name::string(), Tar::binary()) -> ok | {error, any()}

Publishes a package


Generated by EDoc, Jan 28 2016, 12:02:21.