BettyGql
Description
Wrapper of the data api of your Betty Blocks application. A sample config/config.exs would like this:
import Config
config :betty_gql, :app_uuid, "The UUID of the application"
config :betty_gql, :authentication_profile_uuid, "The authentication profile uuid where the user is connected to"
config :betty_gql, :username, "Your username"
config :betty_gql, :password, "Your users password"
config :betty_gql, :app_identifier, "Your app identifier"
More information can be found on the Betty Blocks documentation: https://docs.bettyblocks.com/en/collections/166288-data-model#data-api
Disclaimer
This is an unofficial package that has been created by me, but has not been endorsed by Betty Blocks in any way.
Installation
If available in Hex, the package can be installed
by adding betty_gql to your list of dependencies in mix.exs:
def deps do
[
{:betty_gql, "~> 0.1.0"}
]
end
Dependencies
This project has 2 dependencies which also need to be added to the deps in the mix.exs file:
{:jason, "~> 1.1"},
{:neuron, "~> 5.0.0"},
Documentation
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/betty_gql.