Skip to contents

R package to use Google’s gemini via API on R

Installation

install.packages("gemini.R") # CRAN
# install.packages("pak")
pak::pak("jhk0530/gemini.R") # GitHub

Quick Start

library(gemini.R)
setAPI("YOUR_API_KEY")
gemini("Explain about the gemini in astrology in one line")

# text
# "Gemini, the third astrological sign, is associated with
# communication, adaptability, and a thirst for knowledge."

Terms

Before using the API, please review the following terms:

Additional terms and conditions may apply.
All applications using this API must comply with Google’s Terms of Service.