Skip to main content

FXaPi is a unofficial python module for the site fxp.co.il

Project description

Fxapi

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

This version

1.1

Download files

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

Files for fxapi, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size fxapi-1.1-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fxapi-1.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page