Python
Installation
Install the tggl
package:
Quick start
Start by creating a client using your API key and use it to evaluate contexts:
You can then check flag results:
A single API call evaluating all flags is performed when calling
eval_context
,
making all subsequent flag checking methods extremely fast.
This means that you do not need to cache results of the get
method since
it does not trigger an API call, it simply looks up the data in the already fetched response.