ngrid-gas-get-accounts-for-login

Load the table of account numbers on the NGrid Gas website and extract all the accounts

npm install ngrid-gas-get-accounts-for-login
1 downloads in the last week
5 downloads in the last month

NGrid Gas - Get Accounts for Login

The NGrid Gas website allows access to several accounts for a given customer login. These accounts are accessible after logging in by clicking the Choose Account button in the upper right hand corner of the screen. After clicking choose account, the website presents a table where each row is an account. For each row in the table, this module extracts the following fields:

  • accountNumber
  • SWERowId
  • SWEField

The table displays at most 25 rows. For logins with more than 25 accounts, the accounts are paginated across several pages. To see the next page you can click the next arrow in the upper right hand corner of the table. This module automatically iterates over all pages, extracting the three fields above for each row on each page

npm loves you