ExGemini
View SourceExGemini is an elixir sdk for Gemini API.
Installation
Put this in your mix.exs
and run mix deps.get
.
def deps do
[
{:ex_gemini, "~> 0.1"}
]
end
Usage
Before you use, you need to have an api_key from Gemini.
Once done, add your credentials inside your configs.
config :ex_gemini,
api_key: "REPLACE WITH YOUR API KEY"
Developers
To contribute to this project:
- Fork this project and clone in your machine
- Copy
config.secret.backup.exs
toconfig.secret.exs
then set your credentials - Look for new updates at Gemini API Docs
- Follow code pattern
Before you submit pull request:
- Run
mix coveralls
. Be sure coverage is at 100% - Run
mix credo
. Be sure everything is clean. - Run
mix dialyzer
. Be sure everything is good.
License
Copyright (c) 2025 Noel Del Castillo
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.