Skip to content

amco/cyphi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Packages

No packages published

Languages