https://github.com/techgaun/enphex
An elixir wrapper for enphase api
https://github.com/techgaun/enphex
elixir-wrapper enphase-api
Last synced: about 2 months ago
JSON representation
An elixir wrapper for enphase api
- Host: GitHub
- URL: https://github.com/techgaun/enphex
- Owner: techgaun
- License: apache-2.0
- Created: 2017-01-13T05:14:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-15T20:16:50.000Z (almost 7 years ago)
- Last Synced: 2024-04-14T06:05:21.975Z (about 1 year ago)
- Topics: elixir-wrapper, enphase-api
- Language: Elixir
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Enphex
[](https://hex.pm/packages/enphex) 
> An elixir wrapper for enphase api
## Installation
Specify the package as dependency in `mix.exs`
```elixir
{:enphex, "~> 0.1"}
```and specify in the list of applications:
```eixir
def applications do
[applications: [:enphex]]
end
```## Configuration
```elixir
config :enphex,
api_key: System.get_env("ENPHASE_API_KEY"),
user_id: System.get_env("ENPHASE_USER_ID")
```## Usage
Most of the endpoints accept a system id and optional map of url parameters.
Please refer to `Enphex` documentation for more details```elixir
Enphex.energy_lifetime(1232, %{production: "all"})
```## Author
- [techgaun](https://github.com/techgaun)