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 | 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.

Source Distribution

fxapi-1.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

fxapi-1.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

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