FXaPi is a unofficial python module for the site fxp.co.il
Project description
FXaPi
FXaPi is a unofficial api module for the site fxp.co.il I wrote it for fun and for my own personal use.
How it works
The module emulates the browser actions by sending requests to the site server. The module doesn't load any type of files while sending requests to the site and that makes it faster
Installation
This package can be installed from GitHub or with pip (install from github for an up to date code)
pip install fxapi
Basic Usage
from fxapi import Client
user = Client()
if user.login('amitavr', 'PASSWORD'):
print(f'Logged in as - {user.username}')
new_thread = user.create_thread(21, 'Title', 'Content', prefix='dis')
if new_thread:
print(f'New thread created successfully - {new_thread}')
user.post_comment(new_thread, 'First Comment')
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fxapi-1.1.tar.gz.
File metadata
- Download URL: fxapi-1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6feb5d87e67c85b487089feaa75b564f23185eec421c87d8fbfab53cc67709f5
|
|
| MD5 |
e18095cfeaa49a332229a54d5451fde4
|
|
| BLAKE2b-256 |
843a6c6d13c9860396694541ad421e69cf155f7730f63688570ede4cf376231b
|
File details
Details for the file fxapi-1.1-py3-none-any.whl.
File metadata
- Download URL: fxapi-1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
875dd01523a6c77bdfe48680e7748cf7b40d4923ee6937b7c55f70d162450346
|
|
| MD5 |
8b77288e306d52ed77eb060120400f33
|
|
| BLAKE2b-256 |
e65ca9141376f48ac75af13a77a4acbf97fbfbf16c4d74a1318c264760b6eb78
|