Metadata-Version: 2.1
Name: tryhackme.py
Version: 1.2.1
Summary: THM public API wrapper
Home-page: https://github.com/gnarlito/tryhackme.py
Author: gnarlito
Author-email: gnarlito35@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

<p><img src="https://assets.tryhackme.com/img/THMlogo.png" width="350" title="TryHackMe Logo"></p>


 
Maintained Python wrapper for TryHackMe public API  
This fork is unofficial and not associated with TryHackMe, but i would love to.

## Installation
```sh
pip3 install tryhackme.py
```

## Example
```python
import tryhackme

client = tryhackme.Client(session="<tryHackMe cookie: `connect.sid`>") # Logging in is optional
client.get_stats() # {'publicRooms': 203, 'totalUsers': 88017, 'cloneableRooms': 967}

```
For more info over getting the `connect.sid` visit [#1][i1]

## API documentation
For the API documentation please visit the [TryHackMe-API-Doc](https://github.com/GnarLito/TryHackMe-API-Doc)


## Contributing
You're welcome to create Issues/Pull Requests with features you'd want to see

## License
[MIT LICENSE](https://github.com/szymex73/py-thmapi/blob/master/LICENSE)

[i1]: https://github.com/GnarLito/tryhackme.py/issues/1


