Giter Club home page Giter Club logo

Comments (4)

timparenti avatar timparenti commented on September 26, 2024 2

+1 and congrats on your acceptance!

from pittapi.

RitwikGupta avatar RitwikGupta commented on September 26, 2024 1

@azharichenko The reason for the modularity is that I had plans to store a session in the objects. You might notice that in some cases, such as the Laundry API, we need to get a cookie. Right now I get the same cookie for every call, wasting an expensive I/O call. The plan was to just store the cookie for a period of time in an object, so I kept every class uniform.

However, I like this change. We can look into storing a session for the LaundryAPI later because the overall benefit we get from this is greater than the potential for what I had in mind. Please go ahead with the PR, and congrats to your acceptance to Pitt 😄

from pittapi.

azharichenko avatar azharichenko commented on September 26, 2024

@RitwikGupta Yeah I think we can work out a way with storing a session for LaundryAPI, I'll probably look into that later. I'm right now putting my attention on the CourseAPI since issue #22 brought up some interesting cases that need to be dealt with, plus I think I made more efficient ways of getting the courses but I'm still testing.

Anyways here comes the PR. 🎉

from pittapi.

RitwikGupta avatar RitwikGupta commented on September 26, 2024

Closed with 759390f

from pittapi.

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.