Skip to content

Commit cd1865f

Browse files
committed
Update README
1 parent 3e096dc commit cd1865f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Theater is chosen, among with session info. Seat map is revealed:
5858

5959
![Screenshot](https://raw.githubusercontent.com/luciopaiva/ingresso/master/screenshots/ingresso-sample.png)
6060

61+
And, once you know the session id and sector id of a session, you can query it directly by running `seatmap` which can be found at the root directory:
62+
63+
./seatmap <session-id> <sector-id>
64+
6165
## Seat map symbols
6266

6367
New symbols may appear over time, but here are a few common ones:
@@ -71,7 +75,7 @@ New symbols may appear over time, but here are a few common ones:
7175

7276
This application accesses ingresso.com's mobile API, which is not officially released (AFAIK); use it at your own risk.
7377

74-
## Cronjob
78+
## Automated fetches
7579

7680
In case you want to periodically query for a certain session, there's a script for that in the root directory: `seatmap-task`.
7781

@@ -88,3 +92,9 @@ Remember to replace `<session-id>` and `<sector-id>` properly.
8892
A folder named `seatmap-<session-id>` will appear (within a minute) inside ingresso's folder. It will contain a log file (which will be appended to on each job run) and a TSV file as well, containing the initial seat map. As the job runs, new TSV files will appear, but only if something changed since the last run.
8993

9094
In case no folder appears after one minute, make sure to add a PATH variable to your crontab. For more info, see [this](https://askubuntu.com/a/23438/204815).
95+
96+
Once you have several TSV files, you can dump seat map occupancy progression by running `seatmap-timeline`:
97+
98+
./seatmap-timeline <session-id>
99+
100+
Don't forget to remove a session from your crontab once it is no longer available, otherwise the job will keep executing although no new information will be retrieved.

seatmap.js seatmap

File renamed without changes.

0 commit comments

Comments
 (0)