Skip to main content

Twitter X-Client-Transaction-Id generator written in python.

Project description

X-Client-Transaction-ID

Twitter X-Client-Transaction-Id generator written in python.

Discord

Reference : https://antibot.blog/twitter/

Installation

Install XClientTransaction with pip

pip install XClientTransaction

Usage/Examples

python quickstart.py

OR

from x_client_transaction import ClientTransaction

response = None # get twitter home page response (check quickstart.py)
method = "POST"
path = "/1.1/jot/client_event.json"

ct = ClientTransaction(home_page_response=response)
print(ct.generate_transaction_id(method=method, path=path))
print(ct.generate_transaction_id(method="GET", path="/i/api/1.1/hashflags.json"))

Authors

Feedback

If you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman

Support

For support, email hello@sarabjitdhiman.com

Project details


Download files

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

Source Distribution

xclienttransaction-0.0.3.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

XClientTransaction-0.0.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file xclienttransaction-0.0.3.tar.gz.

File metadata

  • Download URL: xclienttransaction-0.0.3.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for xclienttransaction-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3843e217f6612f6b5cd329e6428509c075878f653aee216dfd51fbd9dff5aa66
MD5 7fc4bd3a977c9eefca6bca5ff76b2000
BLAKE2b-256 34e7d97129c1f91767996413dbdd62e1d41844f21dd401bf7a06eda2c683bb69

See more details on using hashes here.

File details

Details for the file XClientTransaction-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for XClientTransaction-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c9dd13a33a75933c74ce11585a08362cbcb04e95837f609f7bad051d4818759
MD5 6dd35cc25e65752d5ef422661cf20deb
BLAKE2b-256 33403c6f29156d9ddd7d53b681b96649f1e3391330438b68d522aed4d7478053

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page