Metadata-Version: 2.1
Name: scratchclient
Version: 0.2
Summary: A scratch API wrapper for Python.
Home-page: https://github.com/CubeyTheCube/scratchclient
Author: CubeyTheCube
Author-email: turtles142857@gmail.com
License: MIT
Download-URL: https://github.com/CubeyTheCube/scratchclient/archive/v_02.tar.gz
Description: # scratchclient
        A scratch API wrapper for python. 
        
        Based off of https://github.com/edqx/node-scratch-client, and [ilcheese2](https://scratch.mit.edu/users/ilcheese2/)'s cloud code based on my own. 
        
        ## Example usage
        
        ### Basic usage:
        ```python
        from scratchclient import ScratchSession
        
        session = ScratchSession("ceebee", "--uwu--")
        
        # post comments
        session.get_user("Paddle2See").post_comment("OwO")
        
        # lots of other stuff
        print(session.get_project(450216269).get_comments()[0].content)
        print(session.get_studio(29251822).description)
        ```
        ### Cloud connection:
        ```python
        from scratchclient 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 on the way.
        
        All bugs should be reported to the [github repository](https://github.com/CubeyTheCube/scratchclient) or my [Scratch profile](https://scratch.mit.edu/users/Raihan142857/).
Keywords: scratch,api
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
