Skip to main content

Modulo para interagir no forum IGNboards+

Project description

inginterage

Modulo para interagir no forum IGN boards, loga usando cookies do firefox, cria topico, comenta, edita, react e mensagem privada.

requerimentos

  • Windows
  • Navegador Firefox
  • python >=3.6

instalação

pip install igninterage

ou instale a última versão:
pip3 install --upgrade https://github.com/psychodinae/IGNInterage/tarball/master

uso

  • Primeiro realize o login no forum usando o navegador Firefox.

      from igninterage import Igninterage
    
      cookie_file = 'cache.session'
      url = 'https://www.ignboards.com/'
      header = {
      'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) '
                    'Chrome/70.0.3538.77 Safari/537.36',
               }
    
      ign = Igninterage(cookie_file, url, header)
    
      ign.ign_login()
    
      ign.novo_topico('teste', 'som som teste', 'vale-tudo.80331/')    
      ign.editar_topico('teste editado', '[edit] ei ei som', '123456789', '17')
      ign.comentar(text='isso foi postado com a "API" rsrsrsrs', thread='123456789')
      ign.editar_comentario('[EDITt] e agora foi editado usando a "API"', '123456789')
      ign.react(react_id='1', post_id='123456789')
      ign.msg_privada('meu assunto', 'minha conversa', 'NickdoUsuario')
      ign.msg_privada('meu outro assunto', 'minha outra conversa', 'NickdoUsuario', 'NickdeOutroUsuario')
    

Project details


Download files

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

Source Distribution

igninterage-1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

igninterage-1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file igninterage-1.1.tar.gz.

File metadata

  • Download URL: igninterage-1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for igninterage-1.1.tar.gz
Algorithm Hash digest
SHA256 463b94386a08f910fba56d214bb6351e981834f8ab4e13aeb15339e50d4978e2
MD5 7fb2f0c29550db329475324aaccdd7e4
BLAKE2b-256 f444be0d9af257afbcf59fc298f9017495a69684c7af243bcbe8e0b943fce673

See more details on using hashes here.

File details

Details for the file igninterage-1.1-py3-none-any.whl.

File metadata

  • Download URL: igninterage-1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

File hashes

Hashes for igninterage-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 094b8303c1e0bb131c8df8d646662dc0f55435d95b6f75b8c4ac11eb3d42382c
MD5 cbed771d496b02a8dc75f0ae3ba677be
BLAKE2b-256 300637e2557b5cf17c47c926db33c3d76f5f92ec7edc6481619888135e0917f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page