Added Builders to docs

5gi 2023-03-23 10:33:36 -04:00
parent 1825d9b195
commit c56a948b7c

@ -70,6 +70,11 @@ this:
should return:
`Mensaje para traducir`
or use a Builder:
`Translator.newBuilder().setAuthKey(String authKey).setSilent(boolean bool).build();`
Use like a normal Translator.
[Learn how to set up global api keys.](https://git.nevets.tech/5gi/DeepJ/wiki/Home#user-content-global-auth-keys)
# Global API Keys
[Follow the instuctions on this page to add DeepJ to your project.](https://git.nevets.tech/5gi/DeepJ/wiki/Home#user-content-usage-setup)
@ -89,3 +94,7 @@ this:
`translator.translate(Translator.Language.Spanish, "Message to translate");`
should return:
`Mensaje para traducir`
or use a Builder:
`Translator.newBuilder().setGAK(boolean bool).setSilent(boolean bool).build();`