CREST

Build Status hex.pm version hex docs

A simple client for EVE Online’s CREST API. This client correctly specifies version headers for requests, handles transparent, parallel page-walking and connection-pooling. Results are returned as (list of) maps.

Currently WIP, endpoints are added as needed. Check the docs for available endpoints. Contributions are very welcome!

Configuration

You need to define the following variables for configuring the client in your application’s config.exs:

config :crest,
  host: "crest-tq.eveonline.com", # Change host to point it at e.g. sisi
  port: 443,                      # Change port if you're using a custom proxy (TLS must be supported)
  max_sessions: 20,               # Maximum number of parallel connections
  max_pipeline_size: 150          # Maximum size of HTTP pipeline per connection

Installation

The package can be installed as:

  1. Add crest to your list of dependencies in mix.exs:

        def deps do
          [{:crest, github: "EVE-Tools/crest"}]
        end
        ```
  2. Ensure crest is started before your application:

        def application do
          [applications: [:crest]]
        end
        ```