UNPKG

aps-data-api

Version:

package for data extraction from APS company for omnimetic project

36 lines (35 loc) 1.99 kB
{ "login": { "companyUrl": "https://www.aps.com/en/Authorization/Login", "accessResult": "access_denied", "dataExtractionError": "[APS] Failed to extract data", "loginXhrUrl": "https://www.aps.com/api/sitecore/SitecoreReactApi/Login", "passwordCssId": "#password", "usernameCssId": "#emailAddress" }, "getServiceAccounts": { "addressDataSelector": "div[class='col-lg-12 col-md-12 col-sm-12 col-xs-12']", "customerProfileUrl": "https://www.aps.com/en/CustomerProfile/CustomerProfile", "dataExtractionError": "[APS] Failed to extract data", "userDetailsUrl": "https://www.aps.com/api/sitecore/sitecorereactapi/GetAllUserDetails" }, "hourlyUtilityDataConfig": { "dataExtractionError": "[APS] Failed to extract data", "utilityDataUrl": "https://www.aps.com/en/Residential/Billing-and-Payment/Usage-Analytics?serviceId=NzEzOTM3MTUyNQ==", "requestUrl": "https://mobi.aps.com/customeraccountservices/v1/getintervalusagedata", "intervalUsageUrl": "https://mobi.aps.com/customeraccountservices/v1/getintervalusagedata", "batchSize": 10, "batchesPerLoop": 20 }, "getMonthlyUtilityData": { "billDetailsPage": "https://www.aps.com/en/Residential/Billing-and-Payment/Billing-and-Payment-History", "billDetailsPageSelector": "span.aps-btn-link", "billDetailsUrl": "https://mobi.aps.com/ccb-billing/v1/billorletterimageservices?pdf-data=", "billsDataSelector": "a.aps-link-icon.absolute-pos.cta-1", "billsDateStringSelector": "span.month-font", "dataExtractionError": "[APS] Failed to extract data", "selectStringSelector": "#pagination > div.row.text-center > div > div > div > div > span.selectdiv.pl16.aps-label.x-small-font-size.hidexs > select", "selectValueStringSelector": "#pagination > div.row.text-center > div > div > div > div > span.aps-label.x-small-font-size.plr-txt-cont.light", "userDetailsUrl": "https://www.aps.com/api/sitecore/sitecorereactapi/GetAllUserDetails" } }