Giter Site home page Giter Site logo

matthew1471 / myee-api Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 0.0 45 KB

Unofficial MyEE API wrapper. Can automate "Data Gifting" between family accounts on the UK mobile network operator EE (formerly Everything Everywhere) owned by BT Group.

License: GNU General Public License v3.0

Python 100.00%
api-wrapper bt ee everythingeverywhere british-telecom

myee-api's People

Contributors

matthew1471 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

myee-api's Issues

Another API change

Looks like EE have changed something in the logon again. :'(

/usr/bin/python3 MyEEDataGift.py
* Logging into My EE.
Traceback (most recent call last):
  File "MyEEDataGift.py", line 34, in <module>
    myEE = MyEE(credentials['MyEE_Username'], credentials['MyEE_Password'])
  File "/storage/home/vibs/git/MyEE-API/shared/myee.py", line 52, in __init__
    if not self.login(settingsJSON, email, password):
  File "/storage/home/vibs/git/MyEE-API/shared/myee.py", line 169, in login
    if not self.QueueITToken:
AttributeError: 'MyEE' object has no attribute 'QueueITToken'

Error finding key location

C:\Repos\MyEE-API>python myeedatagift.py

  • Logging into My EE.
    Traceback (most recent call last):
    File "C:\Repos\MyEE-API\myeedatagift.py", line 34, in
    myEE = MyEE(credentials['MyEE_Username'], credentials['MyEE_Password'])
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Repos\MyEE-API\shared\myee.py", line 52, in init
    if not self.login(settingsJSON, email, password):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Repos\MyEE-API\shared\myee.py", line 155, in login
    response = self.requestsSession.get(url=response.headers['Location'], headers=MyEE.stealthyHeaders, allow_redirects=False)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
    File "C:\Python312\Lib\site-packages\requests\structures.py", line 52, in getitem
    return self._store[key.lower()][1]
    ~~~~~~~~~~~^^^^^^^^^^^^^
    KeyError: 'location'

Great idea but appears non-functional

Hi Matt

Great idea, found this looking to do the same thing but I'm getting a bunch of errors. Before I spend some time debugging this appears to be using id.ee rather than auth.ee which I see when I go on the web.

I'm wondering if you are still using this and it works (in such case I'll get debugging) or if you've stopped using it and ee have changed their site since?

Thanks anyways

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.