FusionAuth Python Client
If you're integrating FusionAuth with a Python 3 application, this library will speed up your development time.
For additional information and documentation on FusionAuth refer to https://fusionauth.io.
Install
To install the FusionAuth Python Client package run:
pip install fusionauth-client
This library can be found on PyPI
Coding
And then include the package in your code by using the following statement.
from fusionauth.fusionauth_client import FusionAuthClient
Now you're ready to begin making requests to FusionAuth. You will need to supply an API key you created in FusionAuth, the folowing example assumes an API key of 6b87a398-39f2-4692-927b-13188a81a9a3
.
client = FusionAuthClient('6b87a398-39f2-4692-927b-13188a81a9a3', 'http://localhost:9011')
Each method in the client library includes documentation to describe the use and parameters. In addition to this resource, review the API documentation. https://fusionauth.io/docs/v1/tech/apis/
If you encounter a bug with this library, please open an issue.
Questions and support
If you have a question or support issue regarding this client library, we'd love to hear from you.
If you have a paid edition with support included, please open a ticket in your account portal. Learn more about paid editions here.
Otherwise, please post your question in the community forum.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/FusionAuth/fusionauth-python-client.
License
This code is available as open source under the terms of the Apache v2.0 License.