Skip to main content

An unofficial SA-MP forum api

Project description


GitHub issues GitHub pull requests GitHub pull license

forumpy is an unofficial SA-MP forum api.This python library ,integerated with selenium and phantomJS,helps you to automate SA-MP forum acitivities like send and get pms,threads,userinfo,contacts etc.Please view the example files for information about using these features in your python application.forumpy is still under development and has not yet been released.

Quick examples

  • Basic

      from forum.account import Account
      name = input("Input your forum user name : ")
      password = input("Input your forum password : ")
      a = Account(name,password)
      print("Logined with user id : ",
      print("\t**Account info**\n",
      for i in a.getcontacts():
      for i in a.User.getthreads():
  • Send and Get private messages

      from forum.user import User
      from forum.account import Account
      name = input("Input forum username : ")
      password = input("Input forum password : ")
      a = Account(name,password)
      rec_names = input("Input name of recipents (seperated by space) : ").split(" ")
      users = []
      for rec_name in rec_names:
      title = input("Input title : ")
      content = input("Input content : ")

Please view examples files for more examples


  • Python 3.5+
  • Selenium library
  • PhantomJS headless web driver
  • BeautifulSoup library

Project details

Download files

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

Files for forumpy, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size forumpy-0.0.2-py3-none-any.whl (11.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size forumpy-0.0.2.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page