Metadata-Version: 2.1
Name: scratchclientImproved
Version: 1.3
Summary: Improved Version Of The Scratch API Wrapper By CubeyTheCube
Home-page: https://github.com/StellarSt0rm/scratchclientImproved
Download-URL: https://github.com/StellarSt0rm/scratchclientImproved/archive/refs/tags/v1.3.tar.gz
Author: StellarSt0rm
Author-email: stellarst0rm.dev@gmail.com
License: MIT
Keywords: scratch,api
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: requests
Provides-Extra: fast
Requires-Dist: numpy; extra == "fast"
Requires-Dist: wsaccel; extra == "fast"

# Improvement #1 | vv1.3 Changelog
Made most functions return a status code, some of the functions are:

- `.delete()`
- `.report()`
- `.set_*()`
- `Studio.add_project()`
- `Studio.remove_project()`
- `Studio.open_to_public()`
- `Studio.close_to_public()`
- `Studio.toggle_commenting()`

etc...

# scratchclientImproved
Improved version of the Scratch API wrapper by CubeyTheCube.
I will mainly fix errors.

## Installation

Go to your terminal (Not your Python shell) and execute this command:
```bash
pip install scratchclientImproved
```

If this didn't work for whatever reason, open your Python shell and run the following:
```python
import os; os.system("pip install scratchclientImproved")
```

## Example Usage

### Basic Usage
```python
from scratchclientImproved import ScratchSession

session = ScratchSession("UwU", "--uwu--")

# Post comments
session.get_user("User").post_comment("OwO")

# Lots of other stuff!
print(session.get_project(450216269).get_comments()[0].content)
print(session.get_project(450216269).get_comments()[0].get_replies()[0].content)
print(session.get_studio(29251822).description)
```
### Cloud Connection
```python
from scratchclientImproved import ScratchSession

session = ScratchSession("griffpatch", "SecurePassword7")

connection = session.create_cloud_connection(450216269)

connection.set_cloud_variable("variable name", 5000)

@connection.on("set")
def on_set(variable):
    print(variable.name, variable.value)

print(connection.get_cloud_variable("other variable"))
```

Documentation is available at <https://StellarSt0rm.github.io/scratchclientImproved>.

All bugs should be reported to the [Github repository](https://github.com/StellarSt0rm/scratchclientImproved/issues).
