Skip to content

Releases: Quantum-Codes/ScraGet

Get comments and much more!

20 Jan 08:34
Compare
Choose a tag to compare

Full Changelog: v0.2.2...master
This includes versions 0.2.3 and 0.2.4

Changes:

  1. get_user_extras renamed to user_extras for ease of use.
  2. Docstrings were formatted to be actually readable.
  3. studio_extras was added which contains functions to get projects and comments! More coming soon...
  4. Get projects was added to user_extras.
  5. Some mistakes and inconsistencies were corrected.
  6. Union was added to promote flexibility in passing different datatypes in params.
  7. Updates to README and wiki.
  8. Some insignificant improvements which you won't feel lol!

It is highly recommended to update your package to latest one as the wiki doesn't show info for old versions.

You all are free to ask questions, make PRs, issues, suggestions, etc...

https://github.com/Quantum-Codes/ScraGet/discussions/categories/q-a -> ask stuff here

Username validity checker

31 Dec 12:26
Compare
Choose a tag to compare

Added new featue! Username validity checker! Enter a username into the function and it checks whether:

  1. Username is taken or not
  2. Username is valid or not
  3. That's it...

Docs: https://github.com/Quantum-Codes/ScraGet/wiki/User-API#for-user_extrascheck_userme

Full Changelog: v0.2.0...v0.2.2

v0.2.1

28 Dec 13:21
Compare
Choose a tag to compare

Full Changelog: v0.2.0...v0.2.1

Changes:

  1. Changes to get_user_extra function
  2. Added feature to get followers

Cloud change event/decorator! Cloud API added!!

13 Dec 12:18
Compare
Choose a tag to compare

Now you can request Cloud data from ScraGet! And..
A new feature in the form of python decorator is released!! You can run a function whenever a change in Cloud data is detected! (Inspired from scratchclient with a different implementation).

Here's some basic syntax for the decorator:

from ScraGet import ScraGet 

cloud = ScraGet.cloud()

@cloud.scan(ID="612229554", delay=1, NewThread=False)
def function(event):
  print(event.var, "----", event.value) #prints the change
  cloud.stop = True #stops the scanning

You can either run this on another thread or run in main thread! Docs coming soon on the wiki page about this.

Added annotations

05 Dec 13:01
Compare
Choose a tag to compare

Annotations also called type hints are added! Suggested by @ninjamar!
Annotations will help you determine the input type of the function arguement!

Also, Install requirements were defined so if you don't have the packages that makes ScraGet work (only requests module lol), it will automatically be installed!

The printing of this repository's link is removed.
@Quantum-Codes

Added docstrings!

01 Dec 13:01
Compare
Choose a tag to compare

Docstrings are added (suggested by @Sid72020123)! And..

Now the whole response object is returned!
So you can yourself extract data from the json response and even get the statuscode with other info!
The self.status_code isnt removed though.

Encoder added!

13 Oct 13:12
Compare
Choose a tag to compare

New feature! Encoder/decoder for passing and decoding cloud variable data! (Getting clouddata coming soon).
This now makes communicating with cloud projects easier!! Report any bugs

Studio API updated!

06 Oct 05:51
Compare
Choose a tag to compare

Recently scratchhad changed studio API which broke the package for studios. Now it's updated!

Response time!

07 Sep 11:26
d789f49
Compare
Choose a tag to compare
  1. Response time added
  2. Docs completed
  3. Docs link added
  4. Some changes

Ready for use

27 Aug 12:34
15c17b3
Compare
Choose a tag to compare

This release makes ScraGet ready to use.