Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 693 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 693 Bytes

Smg

Smg is an elixir app that could help you to get employees info of iTechArt people

Usage

First create config/secrets.exs file with your SMG credentials

Now you could use mix tasks

mix help | grep smg

mix smg.deps
mix smg.employees
mix smg.employees_by_dep D10
mix smg.employees_with_details D10

Also you could try things in iex console

iex -S mix
# Print all iTechArt departments
Smg.deps 

# Print all iTechArt employees
Smg.employees  

# Print all iTechArt D10 department employees
Smg.employees_by_dep("D10")  

# Print all iTechArt D10 department employees with phone and skype contacts
Smg.employees_with_details("D10")