Skip to content

atais/TicketSwapper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js CI

TicketSwapper

A bot for https://ticketswap.nl/. 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 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.5%
  • JavaScript 0.5%