Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

ScratchAPI is a Scratch API interface written in Python

Project description


Scratch API Interface

ScratchAPI is a scratch API interface written in Python.

To get started, install it with pip install scratchapi

Logging in

To use the api, you must log in to your scratch account:

import scratchapi scratch = scratchapi.ScratchUserSession(‘Username’, ‘password’)

Now, you can verify your session to see if you logged in correctly:

There are a lot of things you can you when you’re logged in!

Take ownership of a new project:

scratch.lib.utils.request(path=’/internalapi/project/new/set/?v=v442&title=Project’, server=scratch.PROJECTS_SERVER, method=’POST’, payload={})

Follow Someone:


Set a cloud variable:‘Variable’, 12345, 4453648)

Credits The cloud data interface information was acquired from various topics on the Scratch Forums.

TheLogFather helped out with various wrappers and conveniences for cloud data.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
scratchapi-1.4.1-py3-none-any.whl (7.9 kB) Copy SHA256 hash SHA256 Wheel 3.5 Aug 29, 2016
scratchapi-1.4.1.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None Aug 29, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page