No commit activity in last 3 years
No release in over 3 years
A command-line interface for the Türksat Kablo Online İşlemler - https://online.turksatkablo.com.tr/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0

Runtime

>= 2.16.1, ~> 2.16
>= 1.7.8, ~> 1.7
>= 2.4.3, ~> 2.4.3
>= 2.0.2, ~> 2.0
>= 1.16.0, ~> 1.16
= 1.6.8
= 0.7.0
~> 0.7.1
>= 1.8.0, ~> 1.8
~> 0.20.0
 Project Readme

Turksat Kablo CLI ◼️

Gem Version

THIS PROJECT IS DEPRECATED

Turksat Kablo CLI is not maintained anymore. See here #1 for more information.

A command-line interface for the Turksat Kablo Online Islemler - https://online.turksatkablo.com.tr/

Demo

asciicast

Setup

turksatkablo_cli is built with Ruby, so you'll need a working Ruby 2.2.0>= environment to use it. You can find Ruby installation instructions here.

  1. Install via rubygems
gem install turksatkablo_cli
  1. Install PhantomJS

https://github.com/teampoltergeist/poltergeist#installing-phantomjs

Verify the turksatkablo command is in your path by running it. You should see information about available commands.

$ turksatkablo
Commands:
turksatkablo anlikborc       # Anlık borç - kısa kodu b
turksatkablo fatura TARIH    # Fatura göster ÖRN: 12.2017, ÖRN: 12.2017 pdf - kısa kodu f
turksatkablo faturaliste     # Fatura listesi - kısa kodu fl
turksatkablo help [COMMAND]  # Describe available commands or one specific command
turksatkablo hizmet          # Mevcut hizmetler - kısa kodu h
turksatkablo kampanya        # Kampanya bilgileri - kısa kodu ka
turksatkablo kota            # Kalan kota - kısa kodu k
turksatkablo kotadetay       # Son 3 ay kota kullanım - kısa kodu kd
turksatkablo musterino       # Müşteri no - kısa kodu mn
turksatkablo ozet            # Hizmetler genel durum - kısa kodu o

Changelog

  • 0.3.1 – Add tests for TurksatkabloCli and Base classes.
  • 0.3.0 – Add Code coverage, Windows 10 support and fatura TARIH, faturaliste, kotadetay donem commands.
  • 0.2.0 – Add RSpec and environment tests, required ruby version updated (2.2.0 >=), nokogiri version updated (has a known critical severity security vulnerability in version range < 1.8.1)
  • 0.1.4 – Fix retry_authenticate and authenticated? methods (login details could not be saved after the retry_authenticate method)
  • 0.1.3 – Modernize multiple classes, add ozet, hizmetler, musterino, kampanya, anlikborc commands
  • 0.1.2 – Modernize Agent and Auth classes, ability to save user's encrypted login details, add kota command.
  • 0.1.1 – Build app skeleton, implement basic authentication
  • 0.1.0 - Initial version.

Development

bundle exec rspec -fd spec

Contributing

turksatkablo_cli is open source, and contributions are very welcome!