Skip to main content

ScraGet

forthebadge made-with-python
Downloads PyPI Latest Release PyPI pyversions

ScraGet - A Scratch API package for Python
This is a package that makes it easy to get data form:

  1. Scratch -- Made by Scratch developers
  2. ScratchDB -- Made by @DatOneLefty


Code at: https://github.com/Quantum-Codes/ScraGet
Pypi: https://pypi.python.org/pypi/ScraGet/

This package is used without any passwords!
You don't need to Memorize any links!

Bonus features:

  1. Cloud encoding/decoding with pre-made scratch script too!
  2. Cloud variable change event!

To install:

pip install ScraGet

Docs: https://github.com/Quantum-Codes/ScraGet/wiki

Some example usages given in the docs!

Basic usage:

Get user ID from scratch

from ScraGet import ScraGet #import package
user = ScraGet.get_user() #create object
user.updateScratch("griffpatch") #update data
print(user.id) #print required info

Get user ID from scratchDB

from ScraGet import ScraGet #import package
user = ScraGet.get_user() #create object
user.updateScratchDB("griffpatch") #update data
print(user.id) #print required info

Advanced

Scan cloud for any changes

from ScraGet import ScraGet

Cloud = ScraGet.cloud()
@Cloud.scan(ID="612229554",delay=1,NewThread=False) #params explained in wiki
def hello(change): #change parameter is automatically passed.
  print(change.var)
  Cloud.stop = True #this stops the scanning. Don't put if u want to keep scanning

Useful links

Code not working as intended or have any questions? Ask here!
Any problems with the package or want to suggest a feature? Make an issue!

Download files

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

Source Distribution

ScraGet-0.2.4.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ScraGet-0.2.4-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file ScraGet-0.2.4.tar.gz.

File metadata

  • Download URL: ScraGet-0.2.4.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for ScraGet-0.2.4.tar.gz
Algorithm Hash digest
SHA256 58368a857703634783a8f5a6e32c9fe1e85a2ec024be30e527701e4c3041680f
MD5 ade36a4cb59a16807892296261ecf898
BLAKE2b-256 f7fe282e58da7dd994d77df3de3c250e6f4ebcd7d6547b21abc982f6d6f9d627

See more details on using hashes here.

File details

Details for the file ScraGet-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: ScraGet-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for ScraGet-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c78aee700496241f4e63f63ddac10ee58f9baf8aa8bedf1439cae570ee6f9139
MD5 49b1ea2b94747595521a5a5e49ad0c84
BLAKE2b-256 db2d5e963a1e524bbcdb51ae219336ab6315c9ab1863166d0ac8ebcc277552b8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page