Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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 | RSS feed

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
Filename, size fxapi-1.1.tar.gz (3.5 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