Skip to content

Parser / scraper for Coned account page built on python / phantomjs

Notifications You must be signed in to change notification settings

daniyalzade/coned-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a parser library to scape Coned's account page to get account information. It can be used for creating IFTTT recipes that automatically add the current bill to a google drive or build an API to expose coned billing history.

Installing

This library relies on phantomjs to do scraping. To install phantom.js:

npm -g install phantomjs-prebuilt

Then, install all requirements for the project. Best done on a virtualenv

pip install -r requirements.txt

To run the tests, install pytest

pip install -U pytest

Running tests

Runs unit tests. We need a task runner to run unit test and also linting tests

pytest

TODO

  • Start supporting historical APIs
  • Add test files
  • Test running it on a server

Future Features

  • Add a browser plugin to capture xpaths for more utilities

About

Parser / scraper for Coned account page built on python / phantomjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published