InfiniteCampusAPI icon indicating copy to clipboard operation
InfiniteCampusAPI copied to clipboard

Question: API Progress and Status

Open collinforrester opened this issue 9 years ago • 2 comments

Hey - as the title says this is more a question than an issue.. are you still actively developing this API or using it an any production implementation? I'm looking for some integration into Infinite Campus (but for Node) and I think I could learn alot from the progress you've already made.

Just skimming through the code it seems like you can just hit a REST endpoint with a district code and parse the results.. I didn't see any authentication code? Is that the case?

collinforrester avatar Apr 09 '15 15:04 collinforrester

Rereading through Main.java, I see the username/password stuff now.

collinforrester avatar Apr 09 '15 15:04 collinforrester

For the most part this was a personal project which I had larger plans for but ultimately ended up not doing due to school. I gathered most of the network protocol from the official app itself, and as such only was really able to gather information specific to my school district unfortunately, so I can't comment on how well it would work in other implementations.

And yes, the login is done via REST over https, it's a bit weird, and I had to do some weird code to keep the cookies when grabbing other pages (to keep the login). For the most part though if you want to dig deeper into their API I would look between the xml files I fetch and doing some packet filtering with Wireshark or something and the official app.

shinyquagsire23 avatar Apr 10 '15 21:04 shinyquagsire23