GithubHelp home page GithubHelp logo

Comments (8)

apearson avatar apearson commented on July 1, 2024

I'll check into this and let you know

from southern-company-api.

apearson avatar apearson commented on July 1, 2024

Couple of questions:

  1. What company is your account from

  2. Is the library throwing any errors? Do you have any logs?

from southern-company-api.

chadamodio avatar chadamodio commented on July 1, 2024

Sorry, to be clear, I got it working in node, running into the issue in python.
Would you have any guidance there? I know this isn't the proper place for the question but there is no other way to reach out to you. Thanks again, either way.

from southern-company-api.

apearson avatar apearson commented on July 1, 2024

No worries, the more libraries the better.

Just to get it out of the way, this is an unofficial API and is derived from how the website gets it data.

Do you have any source code? Normally if you aren't getting the correct cookie then the server isn't receiving the correct data or you're posting to the wrong url.

The auth code was updated a couple months ago but I'm not sure if the readme's explanation has been updated to match.

from southern-company-api.

chadamodio avatar chadamodio commented on July 1, 2024

Also just for awareness, I am looking to obtain the https://customerservice2api.southerncompany.com/api/Billing/getAllBills data as my client oversees and pays for a whole apartment building. If I get it working properly for node, I will fork your repo and add it for your approval.

As for python, I will clean up the code and get it posted publicly, then share it with you. It will be a single script though, not a python library at this time.

PS: just FYI, in your readme URL /LogginValidated/JwtToken
has a typo with too many g's.

from southern-company-api.

apearson avatar apearson commented on July 1, 2024

Sounds good!

I've been testing and it looks like that url should just work once you get the Authorization header with the JWT in place. This should be pretty easy to integrate into the current library, just never ran into that url in my web interface. Thank you :)

Thanks for the heads up. The readme was actually correct but SoCo corrected their API typo and I corrected the typo in the code just not the readme.

from southern-company-api.

chadamodio avatar chadamodio commented on July 1, 2024

Yeah I just got it working, but in my case it is a lot of data so I may leave the function call commented out in main.js. I also added a line to download the json which is what i need.
I will try to fork your repo tonight and add it. Thanks again.

from southern-company-api.

apearson avatar apearson commented on July 1, 2024

Merged PR! Thanks!

from southern-company-api.

Related Issues (20)

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.