Skip to content
amcoPublic

About

Cypher Learning API 3.0 REST Client

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Cyphi

REST client for CYpher Learning API. Created with OpenAPI Code Generator.

Installation

def deps do
  [
    {:cyphi, "~> 0.1.0"}
  ]
end

Configuration

You will need to add to your config/config.exs file the API endpoint and the API KEY:

config :cyphy,
  api_url: "Cypher Learning API endpoint",
  api_key: "API KEY VALUE"

Testing

You can set your test environment with a HTTP test adapter:

config :cyphi,
  http_adapter: MyApp.TestAdapter

The adaprter should have a public request/1 function with args being a map() with :method and url keys.

The url, being the REST paths published by Cypher Learning in their API documentation.

About

Cypher Learning API 3.0 REST Client

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages