Scraget

Latest version: v0.2.4

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

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

0.2.2

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**: https://github.com/Quantum-Codes/ScraGet/compare/v0.2.0...v0.2.2

0.2.1

**Full Changelog**: https://github.com/Quantum-Codes/ScraGet/compare/v0.2.0...v0.2.1

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

0.2.0

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:
python
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.

0.1.8

*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

0.1.6

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.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.