Skip to content
Ankit_Anmol edited this page Jan 25, 2022 · 31 revisions

Welcome to the ScraGet wiki!
Here is a detailed guide to help you use this package!
⚠️The wiki is only to be referred for the latest version. Old versions wiki doesn't exist⚠️

Install and upgrade

Installation: (in terminal)

pip install ScraGet
pip3 install ScraGet #Use this instead for MacOS. Also don't write anything beyond "ScraGet" word in command

Installation: (in program)

import os
os.system("pip install ScraGet")
os.system("pip3 install ScraGet") #For MacOS

To upgrade: (in terminal)

Upgrading installs the latest version.

pip install --upgrade ScraGet
pip3 install --upgrade ScraGet #Use this instead for MacOS. Also don't write anything beyond "ScraGet" word in command

To upgrade: (in program)

Upgrading installs the latest version.

import os
os.system("pip install --upgrade ScraGet")
os.system("pip3 install --upgrade ScraGet") #for MacOS

Common data:

Some pieces of information are common to all classes(user,project,etc).
object here is a class.
The common data is not applicable for users_extra

object.status_code #returns https status codes. (This library only uses https lol)
object.response_time #returns request time from API
object.response_object #returns the while response object

look at the sidebar on right to read usage and other stuff