2 Replies Latest reply: Jul 30, 2013 8:43 PM by ottz0 RSS

    Understanding APIs

    ottz0 Community Member

      Does anyone have any good rescouces for understanding how to work with APIs.

       

      I'm looking at the expedia API to build small hotel sites and want to know the best way to go about this with XML Jquery, JSON or SOAP or do I use MYSQL

       

      Thanks

        • 1. Re: Understanding APIs
          Sudarshan Thiagarajan CommunityMVP

          Different APIs are engineered differently.

           

          Since you've mentioned you're looking at building something based on Expedia API, this is the best resource out there for you: http://developer.ean.com/docs/read/Home

          • 2. Re: Understanding APIs
            ottz0 Community Member

            Awesome thanks, been there though

             

            How does this work though? Are you making multiple calls via jsnop to their server for the latest information?

             

            Or is the information stored in Mysql and dynamically updated via a script?

             

            If 1000's of calls are being made from my site to theirs this would slow down right? so I would need to store the data on my server and that defeats the purpose of xml?

             

            Also if the only way to get cross domain via a browser is with JSNOP, why isnt anyone using this?

             

            Thanks