ExTrails v0.2.0 ExTrails View Source
Application ExTrails is an api client for SecurityTrails that can be both used as a standalone CLI or an Elixir application client
Link to this section Summary
Functions
Generic method for making API requests using a client to SecurityTrails API
Get request used by the library
Link to this section Functions
Generic method for making API requests using a client to SecurityTrails API
Link to this function
req_get(client, path, module)
View Source
req_get(ExTrails.V1.Client.t(), binary(), module()) :: ExTrails.V1.Error.t()
Get request used by the library.
Using the generic request function, we make a get request against a given path. This function can be used as a standalone function to get a path, and is used by the library to build the actual wrappers for API.