Functions Index - Tikolu/SETTI GitHub Wiki

SETTI has 10 functions.

To use SETTI's functions in your Python program, you need to do two things:

  • Make sure setti.py is in the same directory as your program
  • At the top of your program type in import setti. This will import all of setti's functions into your program.

Click on a Function below to learn more about it.

Simple Functions

Simple functions which can be used to make bots which can read and save pages.

Read Function

To download the contents of a page. Learn more

Save Function

To edit the contents of a page. Learn more

Copy Function

To copy the contents of one page to another. Learn more

Page Manipulation Functions

Functions for more advanced bots which provide more control over a page's content.

ReadLine Function

To get only a specific line of a page. Learn more

Append Function

To add text to the end of a page. Learn more

Export Function

To export the contents of a page into a file. Learn more

Advanced Functions

Functions which access information of a page other than the content like the IP, editID, timestamp or dict object.

GetRawDict Function

Returns a raw dict object of the specified page which includes details of the last edit. Learn more

GetIP Function

Returns the IP Address of the last person that edited a page. Learn more

GetTime Function

Returns the timestamp of the last edit of a page. Learn more

GetEditID Function

Returns the ID of the last edit of a page. Learn more