Lastex.Signature (Lastex v0.1.0)

Copy Markdown View Source

Generates API method signatures for authenticated Last.fm requests.

Signature is computed by sorting parameters alphabetically (excluding format and callback), concatenating as <name><value>, appending the API secret, and taking the MD5 hex digest.

Summary

Functions

Generates an api_sig for the given parameters.

Functions

sign(params)

@spec sign(map() | keyword()) :: String.t()

Generates an api_sig for the given parameters.