1.0.0 #7
romaklimenko
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1.0.0
Authentication
cluedin.auth.get_token_response(context)
– to get access token responses.cluedin.load_token_into_context(context)
– to load JWT access tokens into context objects.GraphQL
cluedin.gql.gql(context, query, variables)
– to run GraphQL requests.cluedin.gql.entries(context, query, variables)
– a generator to return paged results from GraphQL requests.URLs
cluedin.urls.get_protocol(context)
- to return HTTP protocol fromcontext
(defaults tohttps
if value is not provided in thecontext
).cluedin.urls.get_org_url(context)
- returns organization's (a.k.a. tenant's) URL (like https://foobar.cluedin.local).cluedin.urls.get_auth_url(context)
- returns authentication URL (like https://foobar.cluedin.local/auth).cluedin.urls.get_api_url(context)
- returns API URL (like https://foobar.cluedin.local/api/api).cluedin.urls.get_graphql_url(context)
- returns GraphQL API URL (like https://foobar.cluedin.local/api/api/graphql).Utilities
cluedin.utils.load(filename)
- to load JSON files into objects.cluedin.utils.save(obj, filename, sort_keys=True)
- to save objects into JSON files.PyPi package: https://pypi.org/project/cluedin/1.0.0/
This discussion was created from the release 1.0.0.
Beta Was this translation helpful? Give feedback.
All reactions