A client library for FusionAuth
Project description
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')
Here's an example which logs a user in:
from fusionauth.fusionauth_client import FusionAuthClient
client = FusionAuthClient(API_KEY, 'http://localhost:9011')
data = {
'loginId': loginId,
'password': password,
'applicationId': My_App_ID
}
print(client.login(data).success_response)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fusionauth_client-1.48.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f34c26d7a5c1174cffbe64708e9df1cd0a7db121c9ccda739b18f0666d7fdb5b |
|
MD5 | 670d5fd1935a598f1fa0361411559bdf |
|
BLAKE2b-256 | 7e5907a55dc6bc32aafb232dbe8db4174b5adf0f8c1889e9a47bad44a7c1dd93 |