Pyrez is an easy to use synchronous wrapper for Hi-Rez Studios API that supports Paladins, Realm Royale and Smite.
Pyrez
! The markdown code is below...Documentation is being hosted on Read the Docs, which shows all available methods and how to use them: Click here!
The easiest way to install the latest stable version is by using pip/easy_install (or pipenv
, of course) to pull it from PyPI
by running the following command:
pip install pyrez
You may also use git to clone the development version from GitHub and install it manually:
git clone https://github.com/luissilva1044894/pyrez.git
cd pyrez
python setup.py install
The required dependencies will be installed automatically.
Then, to use these functions, you must import the pyrez
package:
import pyrez
import pyrez
fake_dev_id=1004
fake_auth_key='23DF3C7E9BD14D84BF892AD206B6755C'
def main():
with pyrez.PaladinsAPI(fake_dev_id, fake_auth_key) as paladins:
print(paladins.getDataUsed())
if __name__ == "__main__":
main()
I reserve the right to place future versions of this library under a different license. But if you make any changes or additions to Pyrez itself, those must be released with a compatible license. Basically it means that you can do whatever you want with the code and, where possible, attribute back to the GitHub page.
This is an open source project provided under the MIT License, which can be found in the LICENSE file
. The programs in the “examples” subdirectory are in the public domain.
Third-party libraries used by Pyrez are under their own licenses. Please refer to those libraries for details on the license they use.
All information obtained is provided by Hi-Rez Studios API and is thus their property. According to Section 11a of the API Terms of Use
, you must attribute any data provided as below.
Data provided by Hi-Rez. © 2021 Hi-Rez Studios, Inc. All rights reserved.