Socket
Book a DemoInstallSign in
Socket

ticketswapper

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ticketswapper

A bot for https://ticketswap.nl/. It adds tickets for an event to the cart.

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Node.js CI

TicketSwapper

A bot for https://ticketswap.com/. It adds tickets for an event to the cart.

DISCLAIMER

Using the script might get you banned from Ticketswap (usage of a bot is against the terms and conditions). Please use it with your own risk.

Install

npm install -g ticketswapper

How to run

Run with:

ticketswapper -t <TOKEN> -u <EVENT_URL> [-o <TICKET_OPTION_1_OR_HIGHER>] [-c <CLUSTER_MODE (TRUE OR FALSE)>]

URL

The URL of the event can be the full URL.

Token

The token is the identifier for the session with TicketSwap and it needs to be extracted from the browser. Open the TicketSwap website and login. Open the developer tools of your browser and take a look at the network calls. In the requests it is part of the request headers.

When copying the token, just copy the part after Bearer <token>.

If that is unclear, please check out the following website. It shows the network tab and headers in Chrome. https://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art034

Cluster mode

Cluster mode will start the application multiple times on the computer. It will open multiple connections to Ticket Swap.

Examples

Example for an event:

ticketswapper -t NlG3kR3lR3khNkRGwZi3TThNzINjkNwN22R2lTj2lGINNhEjNTZETITwIi3izkzTjTZkIkkZiETiEkwhGTz3z23h3Z33 -u https://www.ticketswap.com/event/museumnacht-amsterdam-2019/6135485a-7ccd-470d-b2ba-61ba58726a92 

Another example with cluster mode.

ticketswapper -t NlG3kR3lR3khNkRGwZi3TThNzINjkNwN22R2lTj2lGINNhEjNTZETITwIi3izkzTjTZkIkkZiETiEkwhGTz3z23h3Z33 -u https://www.ticketswap.com/event/museumnacht-amsterdam-2019/6135485a-7ccd-470d-b2ba-61ba58726a92 -c true 

Another example with ticket option number 2

ticketswapper -t NlG3kR3lR3khNkRGwZi3TThNzINjkNwN22R2lTj2lGINNhEjNTZETITwIi3izkzTjTZkIkkZiETiEkwhGTz3z23h3Z33 -u https://www.ticketswap.com/event/museumnacht-amsterdam-2019/6135485a-7ccd-470d-b2ba-61ba58726a92 -o 2 

Keywords

ticketswap

FAQs

Package last updated on 20 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.