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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463b94386a08f910fba56d214bb6351e981834f8ab4e13aeb15339e50d4978e2 |
|
MD5 | 7fb2f0c29550db329475324aaccdd7e4 |
|
BLAKE2b-256 | f444be0d9af257afbcf59fc298f9017495a69684c7af243bcbe8e0b943fce673 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 094b8303c1e0bb131c8df8d646662dc0f55435d95b6f75b8c4ac11eb3d42382c |
|
MD5 | cbed771d496b02a8dc75f0ae3ba677be |
|
BLAKE2b-256 | 300637e2557b5cf17c47c926db33c3d76f5f92ec7edc6481619888135e0917f8 |