Skip to content

socialpaymentsbv/velociraptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Velociraptor

Minimal DocRaptor REST API wrapper for Elixir.

Installation

If available in Hex, the package can be installed as:

  1. Add velociraptor to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:velociraptor, "~> 0.1.0"}]
end
```
  1. Ensure velociraptor is started before your application:
```elixir
def application do
  [applications: [:velociraptor]]
end
```
  1. Configure velociraptor in config.exs:
```elixir
config :velociraptor, api_key: <API_KEY>
```

Usage

client = Velociraptor.new

{:ok, {headers, body}} = 
  Velociraptor.generate_from_string(
    client, "pdf", "example.pdf", 
    "<html><body>Hello</body></html>")

About

Minimal DocRaptor REST API wrapper for Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages