kyle-donoghue / Infinite-Campus-Python-API

A simple work-in-progress API for Infinite Campus written in Python3
5 stars 2 forks source link

Trying to make this work #1

Open funtimes-ninja opened 5 years ago

funtimes-ninja commented 5 years ago

I've attempting to get this to work this afternoon, but haven't had any luck :(

Not sure if it depends on what state/system you are on. But this is the one I'm trying to connect to.

https://campus.ccboe.net/campus/columbia.jsp

pi@raspberrypi:~/Infinite-Campus-Python-API $ ./campus.py

Your Infinite Campus:
District ID - 43
  Username - "user"
  Password -
['Incorrect District ID', None, None]
pi@raspberrypi:~/Infinite-Campus-Python-API $ ./rawGrades.py -u user -p pass -i 43
['Incorrect District ID', None, None]

Any way you can help point me in the right direction?

ghost commented 5 years ago

You're using the wrong Disctrict ID

funtimes-ninja commented 5 years ago

I've tried other District ID as well, and no luck :/

ghost commented 5 years ago

Are you sure you're using the right district ID?

funtimes-ninja commented 5 years ago

No honestly, but just trying what I can to make something work :/

ghost commented 5 years ago

I'm not 100% sure this will work. But is a theory. Go to https://www.infinitecampus.com/audience/parents-students/login-search Then search for your district. Once you're there open your inspect element on whichever browser you're using, and record your network. And click on log in. Then look for the parameter districtID under cookies.

funtimes-ninja commented 5 years ago

image

ghost commented 5 years ago

That's interesting, because your district ID should be way longer than that. For my school is 3768130 but they updated recently. Let me check if mine still works.

2020ChessKing commented 3 months ago

I'm having the same issue- my district id is showing up as 60